Skip to content

Plots via the console are broken #278

Closed
@gdementen

Description

@gdementen

Plots via Ctrl-P work fine, but the plot commands in the console are not displayed:

>>> arr = ndtest((3, 4))
>>> arr.plot()

I suppose this is due to a matplotlib update. Sigh...

When running from within a script, we see the traceback:

Traceback (most recent call last):
  File "c:\users\gdm\devel\larray-editor\larray_editor\editor.py", line 737, in ipython_cell_executed
    show_figure(self, first_output.figure, last_input)
  File "c:\users\gdm\devel\larray-editor\larray_editor\utils.py", line 302, in show_figure
    figure.canvas.manager.window is not None):
AttributeError: 'FigureManagerBase' object has no attribute 'window'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority: BLOCKERcannot do a release without those issues handled

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions