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
2
(6)
3
4
(7)
5
(6)
6
(1)
7
(11)
8
(2)
9
(9)
10
(1)
11
12
(11)
13
(6)
14
(25)
15
16
(6)
17
(6)
18
(13)
19
(13)
20
(5)
21
22
(9)
23
(1)
24
25
26
27
28

Showing 9 results of 9

From: Ryan N. <rne...@gm...> - 2015年02月22日 18:40:54
Oops, Julian. Didn't mean to take this off list. Hopefully an updated
matplotlib will help. (1.2.1 is pretty old. Numerous bug fixes, features,
and improvements have been added.)
Ryan
On Feb 22, 2015 1:23 PM, "Julian Irwin" <jul...@gm...> wrote:
> Ryan,
>
> My version is 1.2.1 so I guess that answers that! Thanks, I didn't think
> to check this.
>
> Julian
>
>
> On Sun, Feb 22, 2015 at 10:53 AM, Ryan Nelson <rne...@gm...>
> wrote:
>
>> Julian,
>>
>> What version of matplotlib are you using? The attached rc file works fine
>> for me with MPLv1.4.2.
>>
>> Ryan
>>
>> On Sat, Feb 21, 2015 at 11:56 PM, Julian Irwin <jul...@gm...>
>> wrote:
>>
>>> In the Ticker API docs <http://matplotlib.org/api/ticker_api.html> the
>>> following is listed as a valid rc parameter:
>>>
>>> axes.formatter.useoffset=False
>>>
>>> Is there a way to put this in my matplotlibrc?
>>>
>>> I have tried the obvious choice:
>>>
>>> axes.formatter.useoffset : False
>>>
>>> but that give the error
>>>
>>> Bad key "axes.formatter.useoffset"
>>>
>>> upon importing matplotlib.
>>>
>>> Thanks,
>>>
>>> Julian
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Matplotlib-users mailing list
>>> Mat...@li...
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>>
>>
>
From: Starfighter <sd...@sp...> - 2015年02月22日 06:27:39
Eric,
I took your suggestion and it worked. Thank you.
To all the others who responded so quickly, thank you as well.
P.S. - I'm still wondering what other differences between vers. 1.1.1rc and
1.4.3 I'll run into. I'll worry about those when I run into them.
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Problems-with-pyplot-and-cm-in-Matplotlib-ver-1-4-3-tp45002p45009.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Eric F. <ef...@ha...> - 2015年02月22日 05:15:41
On 2015年02月21日 5:32 PM, Starfighter wrote:
> Per request my question is being resubmitted here.
>
> I'm attempting to generate contour and a color map in Matplotlib ver. 1.4.3
> on a MacBook Pro under Mac OS X ver. 10.10.2 in Python 2.7.3 with the
> Anaconda environment.
>
> A zip file has been attached to this note. Two sub-directories,
> mathplotlib_1.4.3 and mathplotlib_1.1.1rc are included.
>
> mathplotlib_1.4.3 contains the python script that generates the contour and
> color map plots, jpeg files showing the resultant plots and the input data.
>
> mathplotlib_1.1.1rc contains the screen snaps (jpeg files) showing the
> correct contour and color map plots generated by the same python script and
> input data under Linux2 using Python 2.7.3 and Matplotlib 1.1.1rc.
>
> The questions I have include:
> 1. What are the differences between Matplotlib vers. 1.1.1rc and 1.4.3?
Well, you just found one of them. You should be able to find most 
substantial changes in http://matplotlib.org/users/whats_new.html.
> 2. What is going on where?
The plt.axis('scaled') call is freezing the xlim and ylim at values 
resulting from a call to "nonsingular", which is handling the fact that 
when you call axis(), nothing has been plotted and there is no 
information about what you want the limits to be. In addition, 'scaled' 
is one of the axis options that turns off autoscaling. It has always 
been intended to be called *after* plotting with autoscaling on, or 
otherwise setting the xlim and ylim to the desired values. I don't know 
why it worked for you in 1.1.1rc; I think it was long before this that 
it had the behavior of turning off autoscaling, but I haven't checked.
> 3. How can I fix this problem?
Put the "plt.axis('scaled')" line after your pcolor or plot line.
As a side note, in general pcolormesh will yield the same result as 
pcolor, but *much* faster, so it is recommended in most cases.
Eric
>
>
> Please advise.
>
>
>
>
> mathplotlib_issues.zip
> <http://matplotlib.1069221.n5.nabble.com/file/n45004/mathplotlib_issues.zip>
>
>
>
> --
> View this message in context: http://matplotlib.1069221.n5.nabble.com/Problems-with-pyplot-and-cm-in-Matplotlib-ver-1-4-3-tp45002p45004.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Julian I. <jul...@gm...> - 2015年02月22日 04:57:13
In the Ticker API docs <http://matplotlib.org/api/ticker_api.html> the
following is listed as a valid rc parameter:
 axes.formatter.useoffset=False
Is there a way to put this in my matplotlibrc?
I have tried the obvious choice:
 axes.formatter.useoffset : False
but that give the error
 Bad key "axes.formatter.useoffset"
upon importing matplotlib.
Thanks,
Julian
From: Starfighter <sd...@sp...> - 2015年02月22日 04:34:08
This posting contains:
 1. The python script file used to input the data and produce the contour
and color map plots
 2. The input data
 3. JPG files containing screen snaps of the actual contour and color map
plots
Hope this helps.
solution.txt
<http://matplotlib.1069221.n5.nabble.com/file/n45006/solution.txt> 
plot_solution.py
<http://matplotlib.1069221.n5.nabble.com/file/n45006/plot_solution.py> 
contour.jpg
<http://matplotlib.1069221.n5.nabble.com/file/n45006/contour.jpg> 
pcolor.jpg <http://matplotlib.1069221.n5.nabble.com/file/n45006/pcolor.jpg> 
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Problems-with-pyplot-and-cm-in-Matplotlib-ver-1-4-3-tp45002p45006.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Paul H. <pmh...@gm...> - 2015年02月22日 03:41:07
Hey Starfighter, 
I want to help, but I also don't like unzipping files from strangers. Can you make a simple script that generates some fake with numoy and the handful of matplotib commands you need to make the figure. 
-p
—
Sent from Mailbox
On Sat, Feb 21, 2015 at 7:34 PM, Starfighter <sd...@sp...>
wrote:
> Per request my question is being resubmitted here.
> I'm attempting to generate contour and a color map in Matplotlib ver. 1.4.3
> on a MacBook Pro under Mac OS X ver. 10.10.2 in Python 2.7.3 with the
> Anaconda environment. 
> A zip file has been attached to this note. Two sub-directories,
> mathplotlib_1.4.3 and mathplotlib_1.1.1rc are included.
> mathplotlib_1.4.3 contains the python script that generates the contour and
> color map plots, jpeg files showing the resultant plots and the input data. 
> mathplotlib_1.1.1rc contains the screen snaps (jpeg files) showing the
> correct contour and color map plots generated by the same python script and
> input data under Linux2 using Python 2.7.3 and Matplotlib 1.1.1rc.
> The questions I have include:
> 1. What are the differences between Matplotlib vers. 1.1.1rc and 1.4.3?
> 2. What is going on where?
> 3. How can I fix this problem?
> Please advise.
> mathplotlib_issues.zip
> <http://matplotlib.1069221.n5.nabble.com/file/n45004/mathplotlib_issues.zip> 
> --
> View this message in context: http://matplotlib.1069221.n5.nabble.com/Problems-with-pyplot-and-cm-in-Matplotlib-ver-1-4-3-tp45002p45004.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users 
From: Starfighter <sd...@sp...> - 2015年02月22日 03:32:53
Per request my question is being resubmitted here.
I'm attempting to generate contour and a color map in Matplotlib ver. 1.4.3
on a MacBook Pro under Mac OS X ver. 10.10.2 in Python 2.7.3 with the
Anaconda environment. 
A zip file has been attached to this note. Two sub-directories,
mathplotlib_1.4.3 and mathplotlib_1.1.1rc are included.
mathplotlib_1.4.3 contains the python script that generates the contour and
color map plots, jpeg files showing the resultant plots and the input data. 
mathplotlib_1.1.1rc contains the screen snaps (jpeg files) showing the
correct contour and color map plots generated by the same python script and
input data under Linux2 using Python 2.7.3 and Matplotlib 1.1.1rc.
The questions I have include:
 1. What are the differences between Matplotlib vers. 1.1.1rc and 1.4.3?
 2. What is going on where?
 3. How can I fix this problem?
Please advise.
mathplotlib_issues.zip
<http://matplotlib.1069221.n5.nabble.com/file/n45004/mathplotlib_issues.zip> 
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Problems-with-pyplot-and-cm-in-Matplotlib-ver-1-4-3-tp45002p45004.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Thomas C. <tca...@gm...> - 2015年02月22日 02:15:50
Can you re-send this with that error message formatted a bit better (It is
really hard to make any sense of it all squashed into one line like that).
>From what I can make it out looks like it is mostly warnings, not errors.
Does it correctly save the figure? Can you show us the two outputs?
v1.1.1 is from Jun, 2012, there are over 5k new commits across 301 files
between the two versions (see
https://github.com/matplotlib/matplotlib/compare/v1.1.1...v1.4.3 but it
chokes and only will show you 250 commits)
Can you put together a minimal working example (which does not rely on any
external files)? That will really help the list pin down exactly what is
wrong and how to fix it.
Tom
On Sat Feb 21 2015 at 9:04:47 PM Starfighter <sd...@sp...> wrote:
> I'm attempting to generate contour and a color map in Matplotlib ver.
> 1.4.3 on a MacBook Pro under Mac OS X ver. 10.10.2 in Python 2.7.3 with the
> Anaconda environment. Now the messages from Matplotlib I get are:
> users-MacBook-Pro:lecture1 user$ python plot_solution.py Saved pseudocolor
> plot as pcolor.png
> /Users/user/anaconda/lib/python2.7/site-packages/matplotlib/text.py:52:
> UnicodeWarning: Unicode equal comparison failed to convert both arguments
> to Unicode - interpreting them as being unequal if rotation in
> ('horizontal', None):
> /Users/user/anaconda/lib/python2.7/site-packages/matplotlib/text.py:54:
> UnicodeWarning: Unicode equal comparison failed to convert both arguments
> to Unicode - interpreting them as being unequal elif rotation ==
> 'vertical': Saved contour plot as contour.png users-MacBook-Pro:lecture1
> user$ The python script is attached to this note. Now I've observed that
> the same python script and input data generated the correct contour and
> color map under Linux2 using Python 2.7.3 and Matplotlib 1.1.1rc. The
> questions I have include: 1. What are the differences between Matplotlib
> vers. 1.1.1rc and 1.4.3? 2. What is going on where? 3. How can I fix this
> problem? Please advise. plot_solution.py
> <http://matplotlib.1069221.n5.nabble.com/file/n45002/plot_solution.py>
> ------------------------------
> View this message in context: Problems with pyplot and cm in Matplotlib
> ver. 1.4.3
> <http://matplotlib.1069221.n5.nabble.com/Problems-with-pyplot-and-cm-in-Matplotlib-ver-1-4-3-tp45002.html>
> Sent from the matplotlib - users mailing list archive
> <http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html> at
> Nabble.com.
> ------------------------------------------------------------
> ------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&
> iu=/4140/ostg.clktrk_______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Starfighter <sd...@sp...> - 2015年02月22日 02:03:38
I'm attempting to generate contour and a color map in Matplotlib ver. 1.4.3
on a MacBook Pro under Mac OS X ver. 10.10.2 in Python 2.7.3 with the
Anaconda environment. Now the messages from Matplotlib I get
are:users-MacBook-Pro:lecture1 user$ python plot_solution.pySaved
pseudocolor plot as
pcolor.png/Users/user/anaconda/lib/python2.7/site-packages/matplotlib/text.py:52:
UnicodeWarning: Unicode equal comparison failed to convert both arguments to
Unicode - interpreting them as being unequal if rotation in ('horizontal',
None):/Users/user/anaconda/lib/python2.7/site-packages/matplotlib/text.py:54:
UnicodeWarning: Unicode equal comparison failed to convert both arguments to
Unicode - interpreting them as being unequal elif rotation ==
'vertical':Saved contour plot as contour.pngusers-MacBook-Pro:lecture1 user$
The python script is attached to this note. Now I've observed that the same
python script and input data generated the correct contour and color map
under Linux2 using Python 2.7.3 and Matplotlib 1.1.1rc.The questions I have
include: 1. What are the differences between Matplotlib vers. 1.1.1rc
and 1.4.3? 2. What is going on where? 3. How can I fix this
problem?Please advise. plot_solution.py
<http://matplotlib.1069221.n5.nabble.com/file/n45002/plot_solution.py> 
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Problems-with-pyplot-and-cm-in-Matplotlib-ver-1-4-3-tp45002.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Showing 9 results of 9

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 によって変換されたページ (->オリジナル) /