|
From: Alex B. <ale...@gm...> - 2015-02-09 18:06:13
|
Dear all,
when plotting scattered data with the "," marker, the data points do not
show up either on screen (Qt4Agg backend) or in saved bitmap images (tested
with png); they do show up if the plot is exported as pdf.
Example code (run in "ipython --pylab" for simplicity):
import numpy as np
a = np.random.standard_normal(500)
b = np.random.standard_normal(500)
plot(a,b,',')
savefig("testplot.png")
savefig("testplot.pdf")
Expected result: Scatter plot of random data points, both on screen and in
saved files.
Actual result: Empty-looking plot both on screen and in png, but plot as
expected in pdf.
System info: Arch linux, Kernel 3.17.6 (and 3.18.6), matplotlib version
1.4.2, Python 3.4.2, IPython 2.3.1., numpy version 1.9.1, Qt4Agg backend.
Related: I posted this to the arch-bugtracker (
https://bugs.archlinux.org/task/43392) and asked on stack overflow whether
anyone else saw this (
http://stackoverflow.com/questions/28112916/python-matplotlib-does-not-display-data-points-bug-or-something-else).
Apparently, the same thing happens in Ubuntu, too.
Hope this is the right place to report this.
Cheers,
Alex
P.S.: I sent the same mail to the list a few weeks ago without registering,
but it was never posted, nor replied to. It might be a good idea not to
suggest at http://matplotlib.org/faq/troubleshooting_faq.html#getting-help
that just sending a mail to the list will achieve anything...
|
|
From: Thomas C. <tca...@gm...> - 2015-02-09 18:19:42
|
Can you test with 1.4.3rc1? I believe this has been fixed.
On Mon Feb 09 2015 at 1:07:28 PM Alex Böhnert <ale...@gm...>
wrote:
> Dear all,
>
> when plotting scattered data with the "," marker, the data points do not
> show up either on screen (Qt4Agg backend) or in saved bitmap images (tested
> with png); they do show up if the plot is exported as pdf.
>
> Example code (run in "ipython --pylab" for simplicity):
>
> import numpy as np
> a = np.random.standard_normal(500)
> b = np.random.standard_normal(500)
> plot(a,b,',')
> savefig("testplot.png")
> savefig("testplot.pdf")
>
> Expected result: Scatter plot of random data points, both on screen and in
> saved files.
>
> Actual result: Empty-looking plot both on screen and in png, but plot as
> expected in pdf.
>
> System info: Arch linux, Kernel 3.17.6 (and 3.18.6), matplotlib version
> 1.4.2, Python 3.4.2, IPython 2.3.1., numpy version 1.9.1, Qt4Agg backend.
>
> Related: I posted this to the arch-bugtracker (
> https://bugs.archlinux.org/task/43392) and asked on stack overflow
> whether anyone else saw this (
> http://stackoverflow.com/questions/28112916/python-matplotlib-does-not-display-data-points-bug-or-something-else).
> Apparently, the same thing happens in Ubuntu, too.
>
> Hope this is the right place to report this.
>
> Cheers,
> Alex
>
> P.S.: I sent the same mail to the list a few weeks ago without
> registering, but it was never posted, nor replied to. It might be a good
> idea not to suggest at
> http://matplotlib.org/faq/troubleshooting_faq.html#getting-help that just
> sending a mail to the list will achieve anything...
> ------------------------------------------------------------
> ------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Eric F. <ef...@ha...> - 2015-02-09 18:29:35
|
On 2015/02/09 8:19 AM, Thomas Caswell wrote:
> Can you test with 1.4.3rc1? I believe this has been fixed.
I don't think so. I can reproduce it on master. Regardless of the "ms"
kwarg, I see only a pixel.
Eric
>
> On Mon Feb 09 2015 at 1:07:28 PM Alex Böhnert <ale...@gm...
> <mailto:ale...@gm...>> wrote:
>
> Dear all,
>
> when plotting scattered data with the "," marker, the data points do
> not show up either on screen (Qt4Agg backend) or in saved bitmap
> images (tested with png); they do show up if the plot is exported as
> pdf.
>
> Example code (run in "ipython --pylab" for simplicity):
>
> import numpy as np
> a = np.random.standard_normal(500)
> b = np.random.standard_normal(500)
> plot(a,b,',')
> savefig("testplot.png")
> savefig("testplot.pdf")
>
> Expected result: Scatter plot of random data points, both on screen
> and in saved files.
>
> Actual result: Empty-looking plot both on screen and in png, but
> plot as expected in pdf.
>
> System info: Arch linux, Kernel 3.17.6 (and 3.18.6), matplotlib
> version 1.4.2, Python 3.4.2, IPython 2.3.1., numpy version 1.9.1,
> Qt4Agg backend.
>
> Related: I posted this to the arch-bugtracker
> (https://bugs.archlinux.org/task/43392) and asked on stack overflow
> whether anyone else saw this
> (http://stackoverflow.com/questions/28112916/python-matplotlib-does-not-display-data-points-bug-or-something-else).
> Apparently, the same thing happens in Ubuntu, too.
>
> Hope this is the right place to report this.
>
> Cheers,
> Alex
>
> P.S.: I sent the same mail to the list a few weeks ago without
> registering, but it was never posted, nor replied to. It might be a
> good idea not to suggest at
> http://matplotlib.org/faq/troubleshooting_faq.html#getting-help that
> just sending a mail to the list will achieve anything...
> ------------------------------__------------------------------__------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media,
> is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more.
> Take a
> look and join the conversation now.
> http://goparallel.sourceforge.__net/
> <http://goparallel.sourceforge.net/>_________________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.__sourceforge.net
> <mailto:Mat...@li...>
> https://lists.sourceforge.net/__lists/listinfo/matplotlib-__users
> <https://lists.sourceforge.net/lists/listinfo/matplotlib-users>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Dekalog <ale...@gm...> - 2015-02-09 18:57:17
|
Thomas Caswell wrote > Can you test with 1.4.3rc1? I believe this has been fixed. I just built 1.4.3-rc1 (from the Download page->other Downloads -> Older/mics) from source. It seems to indeed be fixed there. Thanks a lot! -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Bug-in-matplotlib-1-4-2-tp44850p44853.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Eric F. <ef...@ha...> - 2015-02-09 19:28:59
|
On 2015/02/09 8:19 AM, Thomas Caswell wrote:
> Can you test with 1.4.3rc1? I believe this has been fixed.
Oops! Of course--I never use ',', and I was forgetting that it *is*
just one pixel.
Eric
>
> On Mon Feb 09 2015 at 1:07:28 PM Alex Böhnert <ale...@gm...
> <mailto:ale...@gm...>> wrote:
>
> Dear all,
>
> when plotting scattered data with the "," marker, the data points do
> not show up either on screen (Qt4Agg backend) or in saved bitmap
> images (tested with png); they do show up if the plot is exported as
> pdf.
>
> Example code (run in "ipython --pylab" for simplicity):
>
> import numpy as np
> a = np.random.standard_normal(500)
> b = np.random.standard_normal(500)
> plot(a,b,',')
> savefig("testplot.png")
> savefig("testplot.pdf")
>
> Expected result: Scatter plot of random data points, both on screen
> and in saved files.
>
> Actual result: Empty-looking plot both on screen and in png, but
> plot as expected in pdf.
>
> System info: Arch linux, Kernel 3.17.6 (and 3.18.6), matplotlib
> version 1.4.2, Python 3.4.2, IPython 2.3.1., numpy version 1.9.1,
> Qt4Agg backend.
>
> Related: I posted this to the arch-bugtracker
> (https://bugs.archlinux.org/task/43392) and asked on stack overflow
> whether anyone else saw this
> (http://stackoverflow.com/questions/28112916/python-matplotlib-does-not-display-data-points-bug-or-something-else).
> Apparently, the same thing happens in Ubuntu, too.
>
> Hope this is the right place to report this.
>
> Cheers,
> Alex
>
> P.S.: I sent the same mail to the list a few weeks ago without
> registering, but it was never posted, nor replied to. It might be a
> good idea not to suggest at
> http://matplotlib.org/faq/troubleshooting_faq.html#getting-help that
> just sending a mail to the list will achieve anything...
> ------------------------------__------------------------------__------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media,
> is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more.
> Take a
> look and join the conversation now.
> http://goparallel.sourceforge.__net/
> <http://goparallel.sourceforge.net/>_________________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.__sourceforge.net
> <mailto:Mat...@li...>
> https://lists.sourceforge.net/__lists/listinfo/matplotlib-__users
> <https://lists.sourceforge.net/lists/listinfo/matplotlib-users>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|