[MacPorts] #71683: ipympl won't interact
MacPorts
noreply at macports.org
Tue Dec 31 02:49:14 UTC 2024
#71683: ipympl won't interact
---------------------------+--------------------------------
Reporter: dershow | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: ipython ipywidgets
Port: py310-ipympl |
---------------------------+--------------------------------
Changes (by dershow):
* keywords: => ipython ipywidgets
* owner: (none) => stromnov
* status: new => assigned
Comment:
I'm not really sure if this is a problem with ipympl, with jupyter, with
ipython or perhaps with ipywidgets. @stromnov perhaps you can take a
look?
Here is test code, to run in jupyter notebook:
{{{
%matplotlib ipympl
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots()
x = np.linspace(0, 2.5*np.pi, 100)
y = np.sin(3*x)
ax.plot(x, y)
plt.show()
}}}
For me, this runs, and I can resize the resultant plot, but I can't zoom
etc. None of the icons on the left seem to work correctly.
--
Ticket URL: <https://trac.macports.org/ticket/71683#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list