Re: [Matplotlib-users] axvspan/axvline trashes view limits

2008-11-11 Thread Ben Gamari (FOSS)
Eric Firing wrote: > This bug is fixed now in svn for axvline and axhline. If you need a > workaround for your current version of mpl, you could save the view > limits before the axvline call and restore them after it. > > I still need to check axvspan and axhspan; they probably need a > similar f

Re: [Matplotlib-users] axvspan/axvline trashes view limits

2008-11-11 Thread Eric Firing
Ben Gamari (FOSS) wrote: > Hey all, > > I've come across quite a problem while using pylab in a recent project. > It seems that the second time I call axvspan or axvline, the view limits > are reset (seemingly arbitrarily). I have attached a code sample > (derived from my project) to demonstrate t