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
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:
>
> ""
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