Skip to content

Allow to assign a custom figure to the PlotHelper

What does this MR do?

This MR provides the new method attach_figure_and_axes that takes a new figure, closes the existing, extracts information, and updates the PlotHelper.

The new method has the following signature

def attach_figure_and_axes(self, *, fig, axes): 
    """ ... """

Both figure and axes must be passed explicitly.

Can this MR be accepted?

  • Implemented attach_figure method
  • Tests added
    • Full test coverage of newly added code (see CI jobs)
  • Pipeline passes
  • Changelog entry added
  • Up to date with master
  • Squash option set or history cleaned-up
  • Documentation: FAQ entry added verbose docstring
  • Bumped version to '0.11.0a3'
  • Approved by @blsqr (after all discussions are resolved)
  • Approved by @jeremiastraub

Anything to double-check?

Related issues

Closes #110 (closed)

Edited by Utopia Developers

Merge request reports