semilogx does no longer handle 0.0 correctly?

Dear matplotlib community,

We recently did an upgrade to matplotlib 0.99.0 from 0.91.2.

We noticed that some semilog graphic we previously created are suddenly no longer visible. After some searching we found out that when the x data contains a 0.0 value and we perform a semilogx(), the figure shows a nice white surface, without any warning/error. In the previous version it was apparently silently ignored so that the graphic with the other 8000+ data points is still visible.

Is this by design or is it a bug? If it is by design then we expect some clear warnings/error message instead of silently performing a disappearing trick :slight_smile:

Shall I report this as a bug in the tracker?

greetings,

Danny Handoko

– The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

Danny Handoko wrote:

Dear matplotlib community,
We recently did an upgrade to matplotlib 0.99.0 from 0.91.2.
We noticed that some semilog graphic we previously created are suddenly no longer visible. After some searching we found out that when the x data contains a 0.0 value and we perform a semilogx(), the figure shows a nice white surface, without any warning/error. In the previous version it was apparently silently ignored so that the graphic with the other 8000+ data points is still visible.
Is this by design or is it a bug? If it is by design then we expect some clear warnings/error message instead of silently performing a disappearing trick :slight_smile:
Shall I report this as a bug in the tracker?

It must have been a bug that was fixed; semilogx(arange(10), arange(10)) produces a curve with svn mpl.

I hope you can update to a newer version.

Eric

···

greetings,

-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

------------------------------------------------------------------------

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options