Skip to content

Import matplotlib.pyplot at the function level in utils.py

This MR moves the matplotlib.pyplot imports in utils.py to the function level since it's an optional requirement, and also defers any backend actions matplotlib takes when pyplot is imported to the last-possible moment.

Maybe closes #5 (closed).

Merge request reports

Loading