16 May 2012 03:46
Re: Plotting issue using recent matplotlib
On Tuesday, May 15, 2012, Gökhan Sever wrote:
Hello,I have encountered a weird plotting issue recently using a recent mpl clone. See the linked pdfs for better demonstration of the issue:http://atmos.uwyo.edu/~gsever/data/vocals_RF04_NU05_oldmpl.pdfnewmpl file is created using the latest master branch (cloned and setup today)oldmpl is created using mpl v1.1.0 (https://github.com/downloads/matplotlib/matplotlib/matplotlib-1.1.0.tar.gz)Scroll down to page 4 in each file and you will see the wrong plotted behavior of alwp_lcl (black line) variable on newmpl file comparing to the correct version that is shown on oldmpl.I was trying to figure out a way to correct this and I raised y-axis max to 2400 and then the line looks fine. However I have other data that show similar wrong behaviors, so I decided to try earlier mpl versions since I know that those plots were looking correct earlier (at least a few months back). Trying v1.1.x branch gave me the same results. Note that these data contain "nans". Are nan handling changed in recent mpl code or the way the data is plotted out of margins? I can't reproduce this with synthetic data.Any ideas as to what could be going wrong here?Thanks.--
Gökhan
I do recall some changes were made for v1.1.x with regards to autoscaling. Another change was also made with respect to Bbox clipping. I can't recall enough details to know if they are a part of this issue.
Ben Root
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@... https://lists.sourceforge.net/lists/listinfo/matplotlib-users
RSS Feed