Skip to content

Feature/allow custom matplotlib backend#33

Merged
olivhoenen merged 6 commits into
iterorganization:developfrom
prasad-sawantdesai:feature/allow-custom-matplotlib-backend
Jul 3, 2026
Merged

Feature/allow custom matplotlib backend#33
olivhoenen merged 6 commits into
iterorganization:developfrom
prasad-sawantdesai:feature/allow-custom-matplotlib-backend

Conversation

@prasad-sawantdesai

Copy link
Copy Markdown
Contributor

Allow user to use matplotlib backends

List of backends

['gtk3agg', 'gtk3cairo', 'gtk4agg', 'gtk4cairo', 'macosx', 'nbagg', 'notebook', 'qtagg', 'qtcairo', 'qt5agg', 'qt5cairo', 'tkagg', 'tkcairo', 'webagg', 'wx', 'wxagg', 'wxcairo', 'agg', 'cairo', 'pdf', 'pgf', 'ps', 'svg', 'template']
plotequilibrium -u  imas:hdf5?path=/work/imas/shared/imasdb/ITER/3/100507/5 --md "imas:hdf5?path=/home/ITER/hoeneno/public/expdata/ITER/MD"  --rc "backend='qtagg'"

idsprint  -u "imas:hdf5?path=/home/ITER/tribolp/Public/imasdb/predictMagnetics/3/135011/from_efitpp_noise#pf_active/coil[10:13]/current/data" -p --rc "backend='pdf'"

@olivhoenen olivhoenen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, we will need to remember to set MPLBACKEND=TkAgg into the EB module for IDStools, so it overcomes the annoying MPLBACKEND=Agg

@olivhoenen olivhoenen merged commit 5a6ecaf into iterorganization:develop Jul 3, 2026
9 checks passed
@SimonPinches

Copy link
Copy Markdown
Contributor

LGTM, we will need to remember to set MPLBACKEND=TkAgg into the EB module for IDStools, so it overcomes the annoying MPLBACKEND=Agg

We can also change the MPLBACKEND that's set in the matplotlib module if desired (or instead).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants