scipy.ndimage? I've been told
scipyis too big a dependancy, but is that really true in 2020? What fraction of folks do we think are installing matplotlib, but not scipy?
scipy.ndimage. At the same time, scipy is still not a trivial dependency.
Currently, conda-forge still can't build windows packages of scipy on windows-based CI infrastructure.
ndimageis no worse. Regardless of today's discussion, it may be worth it to get around Agg's 0-1 restriction on the filters....
@deprecatedworks for properties, but not being able to call it using the class scope would technically be a change of API? and _deprecate_privatize_attribute seems to make it a property under the hood, which has the same issue
deprecated, of replacing
if isinstance(obj, property)by
isinstance(obj, (property, classproperty)), and of changing the base class of
Anyone has any idea why
animation is not working in
fig, ax = plt.subplots() x = np.arange(0, 2*np.pi, 0.01) line, = ax.plot(x, np.sin(x)) def init(): # only required for blitting to give a clean slate. line.set_ydata([np.nan] * len(x)) return line, def animate(i): line.set_ydata(np.sin(x + i / 100)) # update the data. return line, ani = animation.FuncAnimation( fig, animate, init_func=init, interval=2, blit=True, save_count=50) plt.show()
I've tried using the notebook backend but to no avail. The only way I could get a plot was using
rc('animation', html='jshtml') and
HTML(ani.to_jshtml()). But, it produces two plots and one of them requires pressing the play button which is something I don't want. I need a plot to live update. How to achieve that?
asv devto test out a benchmark