Re: [Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-26 Thread Thomas Caswell
Yikes, that formatting is almost worse! On Thu, Mar 26, 2015 at 11:53 AM rogerjames99 ro...@beardandsandals.co.uk wrote: Hi Thomas, I posted via nabble. It looks like something stripped the code. Here is the bit where the axes are set up def setup_axes(self, fig, rect): With custom locator

Re: [Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-26 Thread rogerjames99
Hi Thomas,I posted via nabble. It looks like something stripped the code.Here is the bit where the axes are set updef setup_axes(self, fig, rect): With custom locator and formatter.Note that the extreme values are swapped.transform =

Re: [Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-26 Thread Thomas Caswell
And if I look at this on nabble the code looks fine, it just was not redndering in inbox. Sorry, the issues is on my end. On Thu, Mar 26, 2015 at 11:54 AM Thomas Caswell tcasw...@gmail.com wrote: Yikes, that formatting is almost worse! On Thu, Mar 26, 2015 at 11:53 AM rogerjames99

Re: [Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-26 Thread rogerjames99
Ok the last one got garbled. My apologies to the list but here is another go. Hi Thomas, I posted via nabble. It looks like something stripped the code. Here is the bit where the axes are set up def setup_axes(self, fig, rect): With custom locator and formatter.

Re: [Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-26 Thread Thomas Caswell
Can you include a minimal example of the code you are using (it looks like you did include code, but it did not come through)? It is very hard to guess at what is wrong without it. Tom On Wed, Mar 25, 2015 at 2:29 PM rogerjames99 ro...@beardandsandals.co.uk wrote: Hi, I am trying to draw a

[Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-25 Thread rogerjames99
Hi, I am trying to draw a polar plot of a sonar scan. The idea being to present it like a radar display. I have used axisartist to do the ploar plot. This is working fine but I would like to reset the limits of the radius axis with each new scan. I have tried a number of ways of doing this