-
Notifications
You must be signed in to change notification settings - Fork 270
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
Can't generate multipanel plot with PhasePlot #4489
Comments
Hi, and welcome to yt! Thanks for opening your first issue. We have an issue template that helps us to gather relevant information to help diagnosing and fixing the issue. |
wow, that's a weird one ! Thank you for reporting and providing a nice, self-contained and minimal reproducer ! I'll look into it now. |
So, it's actually not something weird going on with |
Got a minimal fix in #4491 |
Thank you for looking into this problem, and this explanation sounds very reasonable! But I still have a little question, why |
That's a great question ! yt/yt/visualization/profile_plotter.py Lines 369 to 371 in ec1e375
In fact, all other PlotContainer classes (like SlicePlot , ProjectionPlot ...) follow this pattern too.
You are right that it's also a bug that explicitly calling |
Thank you for your clear reply and now I understand what's happening here! Many thanks! |
Bug report
Bug summary
A multipanel plot with PhasePlot can not be generated normally following the guidance in the cookbook unless using
annotate_title
to add a title.Code for reproduction
A minimum reproducible example is listed below. This example can not generate a mutlipanel phase plot normally (shown in Actual outcome ). However, if the line
phs.annotate_title(title)
hasn't been commented out, the plot will be created correctly (shown in Expected outcome ).Actual outcome
Expected outcome
Version Information
The text was updated successfully, but these errors were encountered: