Skip to content

FigureRegistry as a module? #2

Closed
@jklymak

Description

@jklymak

Currently we instantiate figure registry instances, which maybe is OK:

import mpl_gui as mg
fr = mg.FigureRegistry()
fig, ax = fr.subplots()

but is it possible to provide a default registry with an import?

import mpl_gui.registry as fr
fig, ax = fr.subplots()

That would be more analogous to what we have now, but the cost would be a global lying around.

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