Skip to content

Document logic behind get_backend() == MAGIC_URI_THING #1

@flying-sheep

Description

@flying-sheep

Would be great to have some comments to explain this:

plotting_api/src/plot.py

Lines 34 to 38 in 006d509

if not ax_was_provided:
if plt.get_backend() == "module://matplotlib_inline.backend_inline":
plt.close()
else:
plt.show()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions