Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Custom Matplotlib figure hooks

Set figure.hooks: mpl_azhooks:context_axes_edit in your matplotlibrc file to register a context menu action on right click to trigger the Qt figure options widget on the clicked Axes (useful when working with figures with many subplots).

Set figure.hooks: mpl_azhooks:small_qt_icons to make the default Qt toolbar icons smaller (useful when working with small figures, in particular to leave more room for the coordinates display on the right).

Set figure.hooks: mpl_azhooks:black_canvas to make the background Qt widget canvas black (useful when using a dark theme (with white lines) on a transparent matplotlib figure, e.g. for making figures that will ultimately be displayed on a dark-background document) -- this setting more likely to be set via mpl.rcParams["figure.hooks"] = "mpl_azhooks:black_canvas" together with a mpl.style.use call.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages