Re: [matplotlib-devel] radial grids broken on polar?

2009-05-21 Thread Eric Firing
Jae-Joon Lee wrote: > The default resolution (which is used to interpolate a path in polar > coordinate) has change to 1 at some point. And because of this, a > radial grid becomes a 0-length line. Increasing the resolution will > bring back your gridlines. This is not the right solution, though.

Re: [matplotlib-devel] radial grids broken on polar?

2009-05-21 Thread Jae-Joon Lee
The default resolution (which is used to interpolate a path in polar coordinate) has change to 1 at some point. And because of this, a radial grid becomes a 0-length line. Increasing the resolution will bring back your gridlines. ax = fig.add_axes([0.1, 0.1, 0.8, 0.8], polar=True, axisbg='#d5de9c'

Re: [matplotlib-devel] dropped spine support

2009-05-21 Thread Jae-Joon Lee
I just had a quick at the patch and it looks good. I have two minor issues. 1) API change in Axes.get_xaxis_transform & get_yaxis_transform. The default keyword argument which=None raises an exception. Maybe you meant which="grid"? 2) Axes.frame Is it okay to simply drop this attribute? Any

Re: [matplotlib-devel] radial grids broken on polar?

2009-05-21 Thread Andrew Straw
Andrew Straw wrote: > John Hunter wrote: >> When plotting the polar demo, I am not getting radial grids on the >> trunk (but I am getting them on the branch). Any ideas? > > git bisect let me narrow it down to r7100 in a few minutes. (I'm back to > using git to interact with MPL svn again. Just

Re: [matplotlib-devel] radial grids broken on polar?

2009-05-21 Thread Andrew Straw
John Hunter wrote: > When plotting the polar demo, I am not getting radial grids on the > trunk (but I am getting them on the branch). Any ideas? git bisect let me narrow it down to r7100 in a few minutes. (I'm back to using git to interact with MPL svn again. Just don't ask me to deal with the

Re: [matplotlib-devel] dropped spine support

2009-05-21 Thread John Hunter
On Thu, May 21, 2009 at 7:47 PM, Eric Firing wrote: > Andrew Straw wrote: >> I've implemented initial support for "dropped spines". This is motivated >> by the ability to draw figures that look like >> http://jeb.biologists.org/cgi/content/full/211/3/341/FIG7 . I'm >> attaching the patches and an

[matplotlib-devel] radial grids broken on polar?

2009-05-21 Thread John Hunter
When plotting the polar demo, I am not getting radial grids on the trunk (but I am getting them on the branch). Any ideas? import matplotlib import numpy as np from matplotlib.pyplot import figure, show, rc, grid # radar green, solid grid lines rc('grid', color='#316931', linewidth=1, linestyle=

Re: [matplotlib-devel] dropped spine support

2009-05-21 Thread Eric Firing
Andrew Straw wrote: > I've implemented initial support for "dropped spines". This is motivated > by the ability to draw figures that look like > http://jeb.biologists.org/cgi/content/full/211/3/341/FIG7 . I'm > attaching the patches and an image created by the new example. > > This is a somewhat i

Re: [matplotlib-devel] attempting to enable buildbot

2009-05-21 Thread Andrew Straw
The tests now seem to be running OK. There are some failures due to image comparison mismatch, but I think we should attempt to track these down as a team -- hopefully running on more computers than just mine and with James' input. To see the latest test results, click on the "stdio" link for each

Re: [matplotlib-devel] Units issue

2009-05-21 Thread James Evans
There seems to be some confusion as to how the mpl unit system works, I hope the following will help to clarify that and keep this thread focused on the issue. Currently mpl provides an API via the 'ConversionInterface' class in 'matplotlb.units' that allows a user to define how to translate th

Re: [matplotlib-devel] Units issue

2009-05-21 Thread John Hunter
On Thu, May 21, 2009 at 2:20 PM, Christopher Barker wrote: > John Hunter wrote: >> wrote: >>> If it's going to be done, I think it really shouldn't be too MPL >>> specific -- it should be built on a good (and hopefully eventually >>> widely used) unit-array system, perhaps like Darren Dale's Quan

Re: [matplotlib-devel] Units issue

2009-05-21 Thread Robert Kern
On 2009-05-21 14:55, Pierre GM wrote: > Anyway, the zoom-level dependent ticks we implemented might be a good > starting point for implementing a "locator/formatter that decides > whether to display cm or km"... Well, if we're pushing products, Chaco has a subsystem for doing exactly this in a g

Re: [matplotlib-devel] Units issue

2009-05-21 Thread Pierre GM
Er... Anybody has tried the plotting capacities of scikits.timeseries (pytseries.sourceforge.net)? In short, the package provides some extensions to matplotlib to plot timeseries. One of these extensions changes the ticks depending on the zoom level: start over a few decades and ticks will

Re: [matplotlib-devel] Units issue

2009-05-21 Thread Christopher Barker
John Hunter wrote: > wrote: >> If it's going to be done, I think it really shouldn't be too MPL >> specific -- it should be built on a good (and hopefully eventually >> widely used) unit-array system, perhaps like Darren Dale's Quantities >> package (there are quite a few other that should be look

[matplotlib-devel] Updating Circle.radius has no effect (+minor example fix)

2009-05-21 Thread Tony S Yu
I'm animating a Circle patch with a varying center and radius, and I noticed that changing the ``radius`` attribute has no effect on the patch. Currently, ``radius`` is only used to instantiate an Ellipse object, but updating radius has no effect (i.e. redrawing the patch doesn't use the ne

[matplotlib-devel] preparing for trunk release

2009-05-21 Thread John Hunter
Now that we (finally!) got the bug fix release out for 0.98.5.3, which I am hoping will be the last, I'd like to turn our attention to a trunk release, which is where all the good stuff is, including the new axes grid and mplot3d toolkits. In advance of this, I suggest you commit any pending work