[Matplotlib-users] Can't get interactive plots working on OSX (Catalina)

Thomas Caswell tcaswell at gmail.com
Fri Feb 7 13:08:27 EST 2020

That section assumes the prompt is either the plain python or IPython
shell, both of which have machinery to hook up the input_hook below
Matplotlib (which is required to have the figure to "be alive") and we
install hooks to trigger re-draws when needed.

In your case you are inside of an input loop in the debugger.  For the
figure to be live in that context something would need to be registered on
the vscode side for the input hook.

It is my understanding that "framework build" in this context refers to how
the linking to the system libraries is done.


On Fri, Feb 7, 2020 at 12:44 PM jandyman <andy at voelkel.us> wrote:

> At this link:  https://matplotlib.org/faq/usage_faq.html#what-is-a-backend
> Under the section talking about what an interactive plot is, I see this:
> "Assuming you are running version 1.0.1 or higher, and you have an
> interactive backend installed and selected by default, you should see a
> plot, and your terminal prompt should also be active; you can type
> additional commands such as:"
> That sounds like exactly what I want.
> Then, at this link: https://matplotlib.org/3.1.0/faq/osx_framework.html
> There is a description of using macosx as a framework. So I thought I'd be
> good to go.
> As a general comment, I didn't really see a good description on the GUI
> main
> loop issue and how various systems deal with it. That would be really handy
> to understand when trying to troubleshoot this sort of thing
> --
> Sent from:
> http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users

Thomas Caswell
tcaswell at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20200207/36c1dda7/attachment.html>

More information about the Matplotlib-users mailing list