Thanks, John!
Calling ax.autoscale_view after ax.relim makes the script work.
Best regards,
Pearu
--
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
Hi,
Ben Root gave me a bug report that pcolormesh (and hence QuadMesh)
were not respecting zorder. This turns out to be due to the fact that
kwargs are not being forwarded on as appropriate. This is easy enough
to fix and make work, but I wanted to first ask for any insight on the
following "help
Thanks, John!
Adding ax.autoscale_view after ax.relim makes the script work correctly.
Best regards,
Pearu
--
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourcef
On Fri, May 28, 2010 at 1:37 PM, Pearu Peterson wrote:
> While the new data is plotted correctly, the plot shows fixed axes
> from the first plot call. What I am doing wrong?
ax.relim() causes the data limits to be updated based on the current
objects it contains, ax.autoscale_view() causes the
On Fri, May 28, 2010 9:15 pm, John Hunter wrote:
> On Fri, May 28, 2010 at 1:04 PM, Pearu Peterson wrote:
>
>> Regarding reusing existing line --- I have understood that this
>> will work only if the length of the line data does not change.
>
> This is not correct -- you can change the line length
On 05/28/2010 08:04 AM, Pearu Peterson wrote:
> On Fri, May 28, 2010 5:12 pm, John Hunter wrote:
>
>> Hey Pearu -- thanks for the report. We'll try and track down and fix
>> this leak. In the interim, would an acceptable work around for you be
>> to *reuse* an existing line by calling set_data on
On Fri, May 28, 2010 at 1:04 PM, Pearu Peterson wrote:
> Regarding reusing existing line --- I have understood that this
> will work only if the length of the line data does not change.
This is not correct -- you can change the line length with calls to set_data
> In my case the data grows as m
On Fri, May 28, 2010 5:12 pm, John Hunter wrote:
> Hey Pearu -- thanks for the report. We'll try and track down and fix
> this leak. In the interim, would an acceptable work around for you be
> to *reuse* an existing line by calling set_data on it. That way you
> wouldn't have to do the add/rem
There is a fix in r8341. It passes the regression tests, and all of the
event handling examples I tried seem to still work.
It seems that many places in matplotlib were never disconnecting
callbacks, and these callbacks keep references to the destination
objects alive.
Unfortunately, it's not
On Fri, May 28, 2010 at 10:52 AM, Jason Grout
wrote:
> I just noticed here:
>
> http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_xlim
>
> that the keywords that are documented for set_xlim are actually the
> keywords for set_ylim. Surely this is just a copy-paste error
I just noticed here:
http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_xlim
that the keywords that are documented for set_xlim are actually the
keywords for set_ylim. Surely this is just a copy-paste error.
Thanks,
Jason
---
I'm on to something -- some callbacks are being created that are never
disconnected.
In Line2D.set_axes:
self._xcid = ax.xaxis.callbacks.connect('units', self.recache_always)
gets called twice. This is problematic because the id of the first
connection is simply lost. Also, there doesn't
On Fri, May 28, 2010 at 3:18 AM, Pearu Peterson wrote:
>
> Hi,
>
> In an application that updates a plot with
> new experimental data, say, every second and the experiment
> can last hours, I have tried two approaches:
> 1) clear axes and plot new experimental data - this is
> slow and takes too m
On 05/28/2010 09:18 AM, Pearu Peterson wrote:
> , say, every second and the experiment
> can last hours, I have tried two approaches:
> 1) clear axes and plot new experimental data - this is
> slow and takes too much cpu resources.
> 2) remove lines and plot new experimental data - this is
> fast e
Hi,
In an application that updates a plot with
new experimental data, say, every second and the experiment
can last hours, I have tried two approaches:
1) clear axes and plot new experimental data - this is
slow and takes too much cpu resources.
2) remove lines and plot new experimental data - th
15 matches
Mail list logo