You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Font size setting is just to give the plots a bit more space when stacked 3-up vertically, gives a comparable font size to scripting window. figure.autolayout gets matplotlib to attempt to squeeze the plot into the available space, generally it does an ok job.
Consider whether we want the GUI to set these, or similar, matplotlib params by default at startup - or whether we push this responsibility down to beamline-level configuration.
Advantages:
most plots will display sensibly with minimal end-user configuration
Disadvantages:
Might be surprising to some users if we override mpl's own defaults.
Counterargument: we know that our plot windows will regularly end up quite small compared to "normal" mpl backends, so maybe an explicit non-default configuration is justifiable.
If we're not careful about doing this early enough we might accidentally overwrite beamline-local configuration that has already been done by scientists
Even if we don't overwrite keys which they've set in rcParams, we might be conflicting with explicit layouts they've set up. But I don't know how common (if at all) that is in practice.
Explanation
Consider whether we want the GUI to set these matplotlib params by default at startup.
Additional Information
Consider whether we want the GUI to set these matplotlib params by default at startup.
Acceptance Criteria
Consider whether we want the GUI to set these matplotlib params by default at startup.
How to Review
Has the developer considered whether we want the GUI to set these matplotlib params by default at startup.
Time in recording of planning meeting: 00h36m 2024/11/28
The text was updated successfully, but these errors were encountered:
Feature Description
As a user I'd like matplotlib plots to make an attempt to display all information that has been plotted, even if the plot is quite small.
This can already be done with matplotlib
rcParams
global configuration which all mpl plots obey, e.g.:Font size setting is just to give the plots a bit more space when stacked 3-up vertically, gives a comparable font size to scripting window.
figure.autolayout
gets matplotlib to attempt to squeeze the plot into the available space, generally it does an ok job.Consider whether we want the GUI to set these, or similar, matplotlib params by default at startup - or whether we push this responsibility down to beamline-level configuration.
Advantages:
Disadvantages:
rcParams
, we might be conflicting with explicit layouts they've set up. But I don't know how common (if at all) that is in practice.Explanation
Consider whether we want the GUI to set these matplotlib params by default at startup.
Additional Information
Consider whether we want the GUI to set these matplotlib params by default at startup.
Acceptance Criteria
How to Review
Time in recording of planning meeting: 00h36m 2024/11/28
The text was updated successfully, but these errors were encountered: