GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — MacOSX backend brings up GUI unnecessarily · Issue #188 · matplotlib/matplotlib

MacOSX backend brings up GUI unnecessarily #188

New issue
Copy link
New issue
Copy link
Closed
Closed
MacOSX backend brings up GUI unnecessarily#188
Copy link
Labels
OS: Apple

Description

@ddale
ddale
opened on Jun 20, 2011
Issue body actions

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

    @mdehoon
    mdehoon
    on Mar 4, 2012
    Contributor
    More actions

    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

    @pelson
    pelson
    on Jun 22, 2012
    Member
    More actions

    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.

  3. pelson
    closed this as completedon Aug 19, 2012
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

    OS: Apple

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.