8000 2.1.0: Cannot save figures in GTK backend · Issue #9407 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
2.1.0: Cannot save figures in GTK backend #9407
Closed
@ahaldane

Description

@ahaldane

Bug report

Bug summary

When using the GTK backend, when I try to save the figure to a file using the GUI I get an error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/matplotlib/backends/backend_gtk.py", line 715, in save_figure
    if startpath != "":
NameError: global name 'startpath' is not defined

It looks like this bug was introduced in #9124 - perhaps you forgot to rename startpath to fname in line backend_gtk.py line 715?

Matplotlib version

  • Operating system: arch linux
  • Matplotlib version: 2.1.0
  • Matplotlib backend: GTKAgg
  • Python version: 2.7

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

      0