Re: [Matplotlib-users] Strange behavior with basemap.interp() and masked arrays

2013-06-24 Thread Jeff Whitaker
Goodman, Alexander (398J-Affiliate) June 24, 2013 4:30 PMJust something I thought I should add to this, but would the following code seem like a reasonable workaround? Basically, since map_coordinates() cannot handle mask arrays, I thought that perhaps passing in the actual ma

Re: [Matplotlib-users] Making an interactive plot faster

2013-06-24 Thread Michael Droettboom
Have you tried using "draw_idle"? That will schedule the draw for the next time the event loop is idle. Mike On 06/24/2013 07:39 AM, Thomas Robitaille wrote: > Hi everyone, > > The following shows an example of a simple data viewer which includes > a slider, a bitmap, and a scatter plot: > > ""

[Matplotlib-users] Making an interactive plot faster

2013-06-24 Thread Thomas Robitaille
Hi everyone, The following shows an example of a simple data viewer which includes a slider, a bitmap, and a scatter plot: """ import numpy as np from matplotlib import pyplot as plt from matplotlib.widgets import Slider fig = plt.figure() ax1 = fig.add_axes([0.1, 0.1, 0.4, 0.7]) image = ax1.im