jklymak on main
Inherit many macos backend docs… Merge pull request #21767 from … (compare)
I have an issue with matplotlib v3.3 and interactive plots. Everything works fine for matplotlib<3.3, when updating there is no interactivity. The ipywidget buttons work, but nothing happens:
%matplotlib notebook
I read through the v3.3 release notes, but I couldn't find anything in particular ...
interpolation="antialiased"
and fixing that :)))
%matplotlib widget
and %matplotlib ipympl
the same thing? I really thought they were but https://github.com/matplotlib/matplotlib/issues/18741#issuecomment-709455563 has be confused
well if somebody who is on the mailing list just wants to do a zero-effort user help, feel free to copy/paste respond to most recent message with:
You should be able to manually increase the maximum number of "ticks" that you find acceptable by using matplotlib.ticker.LogLocator(numticks=N)
, like so:
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.ticker
t = np.logspace(0, 4, 10)
fig = plt.figure()
ax = fig.add_subplot()
ax.loglog(t, t**3)
enough_ticks = matplotlib.ticker.LogLocator(numticks=15)
ax.get_yaxis().set_major_locator(enough_ticks)