-
Notifications
You must be signed in to change notification settings - Fork 991
Adds Altair plot component and some other fixes #2644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Performance benchmarks:
|
Thanks for the PR! A few of the automated checks broke, could you look into what caused that? I will leave the review to others. |
@nissu99 also please look at #2643 and #2641 As you are @sanika-n are working in the same space As it looks like you two are looking over the entire altair implementation I would also recommend looking at #2642 discussion It is always good to collaborate and think together you may address some larger visualization challenges. |
"alt defined"
for more information, see https://pre-commit.ci
@tpike3 When I run the tests locally, they don't fail, but they are failing here. |
I am not sure why your tests are passing locally, however for tests to pass they need to updated. It is expecting
|
"removed a line"
"updated toml"
"removed suppress"
for more information, see https://pre-commit.ci
"doc string "
for more information, see https://pre-commit.ci
"operator bug"
Thank You, the issue got resolved by adding altair to the toml file. |
Removing stuff that has become redundant is fine. |
@quaquel i have added all the stuff,can you review it? |
I'll try to review it over the weekend, but I am rather bussy at the moment. This is a part of the code base I am not intimately familiar with and his been a while since I used Altair, so reviewing will take more time than parts of the code base I know inside out. |
for more information, see https://pre-commit.ci
@Sahil-Chhoker can you check the changes? |
This PR added Altair Plot support ,worked on a generic data extracting function , created different functions for drawing different types of grids similar to that in matplot _space and tried to make overall api as similar as that of mpl_space api. |
No worries ,this is how we learn. |
@Sahil-Chhoker Sorry for the inconvenience. I will test more carefully this time. |
for more information, see https://pre-commit.ci
@Sahil-Chhoker i have made the changes . |
stuff like vernoi grid has not been added ,will have to look into it to properly add it. |
I thought ,later he wants to make some universal function which can be reused. |
i tried using the collect_agent_data function it does not give the desired results. |
will ha
i used the internal examples ,somehow it shows no agent showing ,it is not able to extract the data ,will have to properly look into it to understand the issue well. |
@Sahil-Chhoker sorry for not getting back ,just got my college holidays started , i think the extraction is the fault here |
i get that , it is not working for OrthogonalMooreGrid somehow,for others it works fine. |
It worked ,i made a dumb mistake ,should i make a commit for changing the extraction logic? |
I will change all the experimental to discrete_space ,I agree the changes have increased and i understand it is becoming very hard to review , is the extraction logic fine ? |
Maybe to clarify what this means: Just open a series of new PRs, one after another. So start with some minimal changes as a single PR, which includes the groundwork for the rest. Once this PR is merged, open the next PR with changes to some other function/grid/whatever. And so on. Its more tedious this way, but overall it will speed things up. Right now the PR is too big to properly review, because it requires code review, which is already almost too much, but also manually testing everything. You can also just leave this PR open for now as a reference. |
Thank You for clarity ,will be making individual PR's . |
#2435
@quaquel @EwoutH I’ve added a new component, make_altair_plot_component. Could you kindly check if it aligns well with the project?
P.S working on space support.