SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S



1
(3)
2
(2)
3
(1)
4
(2)
5
6
(6)
7
8
(4)
9
(15)
10
(9)
11
12
(2)
13
(1)
14
(1)
15
(8)
16
17
18
19
20
21
22
(2)
23
24
25
26
27
(1)
28
(6)
29
(2)
30
(9)
31
(3)

Showing 8 results of 8

From: John C. <jo...@jc...> - 2015年07月15日 20:12:25
On 2015年7月15日 07:19:53 -1000
Eric Firing <ef...@ha...> wrote:
> John, if you haven't already done so, please escalate this to a github 
> issue.
Will do...
Cheers,
John
From: Eric F. <ef...@ha...> - 2015年07月15日 17:20:02
It is not clear to me that 4202 would fix it, and I think 4202 has a 
basic problem of its own.
John, if you haven't already done so, please escalate this to a github 
issue.
Eric
On 2015年07月15日 4:58 AM, Thomas Caswell wrote:
> The PR to fix this is still open
> (https://github.com/matplotlib/matplotlib/pull/4202).
>
> Tom
>
> On Wed, Jul 15, 2015 at 10:29 AM John Coppens <jo...@jc...
> <mailto:jo...@jc...>> wrote:
>
> Hello again,
>
> I've posted these two issues in separate mails, as I suspect they're
> actually different problems.
>
> This error is particular to the default version of MacOSX's matplotlib
> version 1.4.3:
>
> When doing a simple plot:
>
> import matplotlib.pyplot as plt
>
> def test_plot():
> x = range(11)
> y = [x0**2 for x0 in x]
>
> plt.plot(x, y, 'o:', fillstyle='none', label = "1", ms = 10)
> plt.legend()
> plt.show()
>
> def main(args):
> test_plot()
> return 0
>
> if __name__ == '__main__':
> import sys
> sys.exit(main(sys.argv))
>
> Much of the data is available on this thread on stackoverflow:
>
> http://stackoverflow.com/questions/31408928/how-can-i-plot-hollowed-symbols-connected-with-dotted-lines-in-one-go/31410105?noredirect=1#comment50794519_31410105
>
> The gist is that a dotted line ('o:') works correctly
> on my system (Linux Slackware/matplotlib 1.3.1 and 1.4.3), on C.C.Yang's
> Linux Mint, but not on his MacOSX (on which the _circle symbols_ are
> also
> dotted).
>
> It does work if he defines TkAgg or GtkAgg (even though he does not have
> Gtk installed on his Mac)
>
> Any suggestions to solve this?
>
> Is there a problem in the MacOSXAgg backend?
>
> John
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> <mailto:Mat...@li...>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Thomas C. <tca...@gm...> - 2015年07月15日 14:58:34
The PR to fix this is still open (
https://github.com/matplotlib/matplotlib/pull/4202).
Tom
On Wed, Jul 15, 2015 at 10:29 AM John Coppens <jo...@jc...> wrote:
> Hello again,
>
> I've posted these two issues in separate mails, as I suspect they're
> actually different problems.
>
> This error is particular to the default version of MacOSX's matplotlib
> version 1.4.3:
>
> When doing a simple plot:
>
> import matplotlib.pyplot as plt
>
> def test_plot():
> x = range(11)
> y = [x0**2 for x0 in x]
>
> plt.plot(x, y, 'o:', fillstyle='none', label = "1", ms = 10)
> plt.legend()
> plt.show()
>
> def main(args):
> test_plot()
> return 0
>
> if __name__ == '__main__':
> import sys
> sys.exit(main(sys.argv))
>
> Much of the data is available on this thread on stackoverflow:
>
>
> http://stackoverflow.com/questions/31408928/how-can-i-plot-hollowed-symbols-connected-with-dotted-lines-in-one-go/31410105?noredirect=1#comment50794519_31410105
>
> The gist is that a dotted line ('o:') works correctly
> on my system (Linux Slackware/matplotlib 1.3.1 and 1.4.3), on C.C.Yang's
> Linux Mint, but not on his MacOSX (on which the _circle symbols_ are also
> dotted).
>
> It does work if he defines TkAgg or GtkAgg (even though he does not have
> Gtk installed on his Mac)
>
> Any suggestions to solve this?
>
> Is there a problem in the MacOSXAgg backend?
>
> John
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Benjamin R. <ben...@ou...> - 2015年07月15日 14:37:35
We have been recently fixing a bunch of issues in the macosx backend (which
is default on Macs). Having the circle be dotted sounds exactly like the
sort of problem that would be caused by some of the bugs we are addressing.
I think we have some of the fixes committed to the master branch, so if you
could build and install from git, you can see if the problem is fixed yet
or not.
Ben Root
On Wed, Jul 15, 2015 at 10:29 AM, John Coppens <jo...@jc...> wrote:
> Hello again,
>
> I've posted these two issues in separate mails, as I suspect they're
> actually different problems.
>
> This error is particular to the default version of MacOSX's matplotlib
> version 1.4.3:
>
> When doing a simple plot:
>
> import matplotlib.pyplot as plt
>
> def test_plot():
> x = range(11)
> y = [x0**2 for x0 in x]
>
> plt.plot(x, y, 'o:', fillstyle='none', label = "1", ms = 10)
> plt.legend()
> plt.show()
>
> def main(args):
> test_plot()
> return 0
>
> if __name__ == '__main__':
> import sys
> sys.exit(main(sys.argv))
>
> Much of the data is available on this thread on stackoverflow:
>
>
> http://stackoverflow.com/questions/31408928/how-can-i-plot-hollowed-symbols-connected-with-dotted-lines-in-one-go/31410105?noredirect=1#comment50794519_31410105
>
> The gist is that a dotted line ('o:') works correctly
> on my system (Linux Slackware/matplotlib 1.3.1 and 1.4.3), on C.C.Yang's
> Linux Mint, but not on his MacOSX (on which the _circle symbols_ are also
> dotted).
>
> It does work if he defines TkAgg or GtkAgg (even though he does not have
> Gtk installed on his Mac)
>
> Any suggestions to solve this?
>
> Is there a problem in the MacOSXAgg backend?
>
> John
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Thomas C. <tca...@gm...> - 2015年07月15日 14:37:10
The Agg backend is a non-gui backend, it just saves to file. The `TkAgg`
and `GtkAgg` are gui backends (which are more of front ends, but I digress)
which show the output of Agg in a gui window (and provide a layer for
handling user interaction).
I suspect that how ever your 1.3.1 was installed the system level
matplotlibrc file was modified to set the default backend to be one of the
GUI backends.
See http://matplotlib.org/users/customizing.html#the-matplotlibrc-file You
want to set the 'backend' parameter.
Tom
On Wed, Jul 15, 2015 at 10:22 AM John Coppens <jo...@jc...> wrote:
> Hello all.
>
> I had MatPlotLib 1.3.1 installed, and decided to upgrade to 1.4.3. I
> compiled the
> .tar.gz package, which went without a hitch (except for a number of
> warnings
> from gcc). Installation also completed without problems.
>
> But, on running the same simple plot I was working on, no plot was output:
>
> import matplotlib.pyplot as plt
>
> def test_plot():
> x = range(11)
> y = [x0**2 for x0 in x]
>
> plt.plot(x, y, 'o:', fillstyle='none', label = "1", ms = 10)
> plt.legend()
> plt.show()
>
> def main(args):
> test_plot()
> return 0
>
> if __name__ == '__main__':
> import sys
> sys.exit(main(sys.argv))
>
> which was somewhat annoying, as I was trying to help out someone on
> Stackoverflow. Only after experimenting somewhat, I found that
> setting the Agg to GtkAgg, the plot started working again:
>
> import matplotlib
> matplotlib.use('GtkAgg')
>
> Is this normal? I'm not actually using gtk in this project.
> TkAgg also works.
>
> John
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Benjamin R. <ben...@ou...> - 2015年07月15日 14:34:06
If your backend is set to Agg, then no interactive window will appear upon
call to show(). Agg is intended for headless servers. What might be
happening is that somewhere, you have Agg set as the default backend.
Ben Root
On Wed, Jul 15, 2015 at 10:16 AM, John Coppens <jo...@jc...> wrote:
> Hello all.
>
> I had MatPlotLib 1.3.1 installed, and decided to upgrade to 1.4.3. I
> compiled the
> .tar.gz package, which went without a hitch (except for a number of
> warnings
> from gcc). Installation also completed without problems.
>
> But, on running the same simple plot I was working on, no plot was output:
>
> import matplotlib.pyplot as plt
>
> def test_plot():
> x = range(11)
> y = [x0**2 for x0 in x]
>
> plt.plot(x, y, 'o:', fillstyle='none', label = "1", ms = 10)
> plt.legend()
> plt.show()
>
> def main(args):
> test_plot()
> return 0
>
> if __name__ == '__main__':
> import sys
> sys.exit(main(sys.argv))
>
> which was somewhat annoying, as I was trying to help out someone on
> Stackoverflow. Only after experimenting somewhat, I found that
> setting the Agg to GtkAgg, the plot started working again:
>
> import matplotlib
> matplotlib.use('GtkAgg')
>
> Is this normal? I'm not actually using gtk in this project.
> TkAgg also works.
>
> John
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: John C. <jo...@jc...> - 2015年07月15日 14:29:19
Hello again,
I've posted these two issues in separate mails, as I suspect they're 
actually different problems.
This error is particular to the default version of MacOSX's matplotlib
version 1.4.3:
When doing a simple plot:
import matplotlib.pyplot as plt
def test_plot():
 x = range(11)
 y = [x0**2 for x0 in x]
 plt.plot(x, y, 'o:', fillstyle='none', label = "1", ms = 10)
 plt.legend()
 plt.show()
def main(args):
 test_plot()
 return 0
if __name__ == '__main__':
 import sys
 sys.exit(main(sys.argv))
Much of the data is available on this thread on stackoverflow:
http://stackoverflow.com/questions/31408928/how-can-i-plot-hollowed-symbols-connected-with-dotted-lines-in-one-go/31410105?noredirect=1#comment50794519_31410105
The gist is that a dotted line ('o:') works correctly
on my system (Linux Slackware/matplotlib 1.3.1 and 1.4.3), on C.C.Yang's
Linux Mint, but not on his MacOSX (on which the _circle symbols_ are also
dotted).
It does work if he defines TkAgg or GtkAgg (even though he does not have
Gtk installed on his Mac)
Any suggestions to solve this?
Is there a problem in the MacOSXAgg backend?
John
From: John C. <jo...@jc...> - 2015年07月15日 14:21:36
Hello all.
I had MatPlotLib 1.3.1 installed, and decided to upgrade to 1.4.3. I compiled the
.tar.gz package, which went without a hitch (except for a number of warnings
from gcc). Installation also completed without problems.
But, on running the same simple plot I was working on, no plot was output:
import matplotlib.pyplot as plt
def test_plot():
 x = range(11)
 y = [x0**2 for x0 in x]
 plt.plot(x, y, 'o:', fillstyle='none', label = "1", ms = 10)
 plt.legend()
 plt.show()
def main(args):
 test_plot()
 return 0
if __name__ == '__main__':
 import sys
 sys.exit(main(sys.argv))
which was somewhat annoying, as I was trying to help out someone on
Stackoverflow. Only after experimenting somewhat, I found that 
setting the Agg to GtkAgg, the plot started working again:
import matplotlib
matplotlib.use('GtkAgg')
Is this normal? I'm not actually using gtk in this project.
TkAgg also works. 
John

Showing 8 results of 8

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /