Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

2.1.0: Cannot save figures in GTK backend #9407

Copy link
Copy link
Closed
@ahaldane

Description

@ahaldane
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.