FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

MacOSX backend brings up GUI unnecessarily · Issue #188 · matplotlib/matplotlib · GitHub

Repository navigation

MacOSX backend brings up GUI unnecessarily #188

Closed

Description

Original report at SourceForge, opened Fri Nov 19 21:14:12 2010

With the MacOSX backend creating a figure object causes the GUI to pop up, even if it is not needed. For example, executing the following brings up the GUI, even though this is irrelevant to the code's operation:

import matplotlib
matplotlib.use('MacOSX')
import matplotlib.pyplot as plt
print ', '.join(plt.figure().canvas.get_supported_filetypes().keys())

The problem is discussed further in this matplotlib-devel thread:

https://sourceforge.net/mailarchive/message.php?msg_name=AANLkTimHzc9g-o9x8geAnowGSvqMeD0%3D5ABrDPGxs67J%40mail.gmail.com

SourceForge History

  • On Sat Jan 15 20:35:26 2011, by efiring: assigned_to: 100

Activity

  1. mdehoon commented on Mar 4, 2012

    Contributor

    With the latest version of matplotlib (downloaded from github), I am getting the same behavior for the Tkagg backend and the MacOSX backend. If matplotlib is interactive, a figure pops up; if matplotlib is not interactive, no figure pops up, for both backends. Can you confirm that this issue can be closed?

  2. pelson commented on Jun 22, 2012

    Member

    With the MacOSX and TkAgg backends, the call to plt.figure() adds a new icon to the launcher, but no actual window pops up. Closing the icon by ctrl+clicking -> quit closes the python session that the figure was launched from.

    I can't tell if this is the problem that the original user was reporting or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL