-
Notifications
You must be signed in to change notification settings - Fork 128
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
Refactor visualisation extensions #934
Conversation
Inspection of plots with positions with offset works for |
In other news:
|
Seems like they solved the problems in Makie if I'm not mistaken! Related to #948, can we fix the version of Makie in the project.toml to 0.20? So that we can control better that everything works before updating |
Yep, it's fixed. :)
Sure we can do that. Would make sense to do it in this PR, so I'll add that to the to-do list. I've been on vacation the past days and haven't found any time to look at the other two issues that I mentioned after the switch to Makie 0.20. Will try to work on them soonish and if I'm unable to fix them, then it's maybe better to move them into separate issues that we can work on after this PR has been merged. |
sorry, i've been away for too long. Do you guys need any support from me here? |
Nope, thanks for asking. This PR was put aside for a while because of my absence. Right now I have to finish some more urgent work related things before being able to finalise this PR. Hope to get it through the door until February. |
Hi @fbanning do you happen to have some time to finish up this PR? Because we are really close to finalize everything for v6 I think, otherwise we could merge this as is, and improve the rest in some follow up PRs |
I don't see myself finding the time to finish this PR in the next days. If 6.0 should be released really soon, feel free to merge. The new plotting infrastructure should mostly work as far as I can tell from the stuff done two months ago. It won't be without bugs (e.g. some inspection issues I know of and also the open to-dos from the list above). But maybe it's also a good idea to start a clean PR after this has been merged to fix all the remaining issues with it (and new ones that will probably arise soon after this has been released). Oh and I just saw there are two file conflicts that need to be resolved. Those haven't been there the last time I committed to this branch, but it's likely they can be fixed easily. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests pass on my machine so I approve. There is one conversation left but it doesn't seem blocking. We are left with the problems stemming from the update of Makie.
thank you for all the past work @fbanning ! I think as you say that it is better to improve what needs to before v6 in separate PRs |
Closes #914 , #925, #930, #951
Preface
This PR is relatively big, I know. But this refactor was really necessary and kind of long overdue. So, sorry but not really all too sorry, I suppose? ¯\_(ツ)_/¯
Description
The space visualisation API is described in space-visualization-API.jl. Users can easily copy this file and extend the functions to work with their custom space.
This whole PR is supposed to be not breaking. Where I've had to make some changes that could be seen as breaking, I've tried to handle them gracefully so that the user gets notified of any deprecations while their code still continues to work as it did before.
Things left to do
add_interaction!
)GraphSpace
andOpenStreetMapSpace
_ABMPlot
scatterkwargs
andgraphplotkwargs
becomeagentsplotkwargs
osmplotkwargs
becomesspaceplotkwargs
abmplot
kwarg to disable custom space checksoffset
differently so that inspection continues to workExtend visualizations test suite to a very basic implementation matching the models used to test this PRContinuousSpace
inspectionagentsplot!
andspaceplot!