grid bug

Hi,

I found a bug with the grid after passing by a log scale.

Here is the sample code reproducing the bug :

`from pylab import *

plot(range(50),range(50))

draw()

gca().set_yscale(‘log’)

draw()

gca().xaxis.grid()

draw()

gca().set_yscale(‘linear’)

draw()

show()`

The grid on the xaxis
disappears after setting back the yaxis to linear.

Please let me know if this is
the right place for posting this kind of message. If not, where can I
do that ?

Thanks

Olivier

I am not seeing this with svn matplotlib – what version are you using?

http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem

http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#obtaining-matplotlib-version

JDH

···

On Tue, Apr 28, 2009 at 3:18 AM, Olivier Feys <olivier.feys@…149…> wrote:

Hi,

I found a bug with the grid after passing by a log scale.

Here is the sample code reproducing the bug :

`from pylab import *

plot(range(50),range(50))

draw()

gca().set_yscale(‘log’)

draw()

gca().xaxis.grid()

draw()

gca().set_yscale(‘linear’)

draw()

show()`

The grid on the xaxis
disappears after setting back the yaxis to linear.

Please let me know i

0.98.5.2

John Hunter wrote:

···

On Tue, Apr 28, 2009 at 3:18 AM, Olivier > Feys <olivier.feys@…149…> > wrote:

Hi,

I found a bug with the grid after passing by a log scale.

Here is the sample code reproducing the bug :

`from pylab import *

plot(range(50),range(50))

draw()

gca().set_yscale(‘log’)

draw()

gca().xaxis.grid()

draw()

gca().set_yscale(‘linear’)

draw()

show()`

The grid on the xaxis

disappears after setting back the yaxis to linear.

Please let me know i

I am not seeing this with svn matplotlib – what version are you using?

http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem

http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#obtaining-matplotlib-version

JDH

I also am not seeing it on the 0.98 branch, so the good news is that if we can ever get this release out as planned it should be fixed on the next release. Or if you are happy with svn and a compiler, you can upgrade from svn

http://matplotlib.sourceforge.net/faq/installing_faq.html#install-svn

JDH

···

On Tue, Apr 28, 2009 at 10:59 AM, Olivier Feys <olivier.feys@…149…> wrote:

0.98.5.2