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






Showing results of 322

<< < 1 .. 9 10 11 12 13 > >> (Page 11 of 13)
From: Michael D. <md...@st...> - 2008年08月05日 19:03:55
This has now been fixed in SVN r5975 and r5976. This should make it 
into the next official release, or if you can try applying the patches 
from those SVN revisions. The fixes are a bit scattered, so YMMV.
Cheers,
Mike
Ben Axelrod wrote:
> Thanks,
>
> I think it is great that the color can be specified as either 3 or 4 columns. It would be nice if the bar plot color arguments also had this flexibility. They currently fail when the color has 4 columns.
>
> Will this bug fix need to wait until the next official release? (I am constrained to using the official releases and not the svn code).
>
> Thanks,
> -Ben
>
> -----Original Message-----
> From: Michael Droettboom [mailto:md...@st...]
> Sent: Monday, August 04, 2008 10:17 AM
> To: Ben Axelrod
> Cc: mat...@li...
> Subject: Re: [Matplotlib-users] 0.98.3 scatter plot color bug?
>
> Looks like a bug -- it should accept either 3 or 4 columns. I'll have a
> chance to look at this further this afternoon.
>
> Cheers,
> Mike
>
> Ben Axelrod wrote:
> 
>> I get an error when I use the scatter plot and set the 'c' value to a
>> list of 3-tuples. The error goes away if I use 4-tuples instead. Are
>> colors with only 3 values not supported anymore?
>>
>> ...
>>
>> File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 4807, in
>> scatter
>>
>> colors = mcolors.colorConverter.to_rgba_array(c, alpha)
>>
>> File "C:\Python24\Lib\site-packages\matplotlib\colors.py", line 343,
>> in to_rgba_array
>>
>> c[i] = self.to_rgba(cc, alpha) # change in place
>>
>> ValueError: shape mismatch: objects cannot be broadcast to a single shape
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>> 
>
> --
> Michael Droettboom
> Science Software Branch
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
>
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Jonathan H. <jjh...@gm...> - 2008年08月05日 17:40:07
I've never worked with qt (only wx) but have you checked out the qt 
embedding examples in the /examples/user_interfaces/ directory? Should 
be a good start. There is also
http://www.scipy.org/Cookbook/Matplotlib/Qt_with_IPython_and_Designer
from the matplotlib cookbook which seems to address embedding a 
matplotlib widget using Designer.
Cheers,
-Jonathan Helmus
Ewald Zietsman wrote:
> Hi All,
>
> I'd like to use a matplotlib widget in a GUI app I'm working on. I 
> have tried qwt but I know matplotlib a lot better and would like to 
> use it instead. Is there anybody who have done this before? More 
> specifically, does anyone know how to add a matplotlib widget as a 
> custom widget in qt4 designer?
>
> Any help will be greatly appreciated,
>
> Ewald Zietsman
From: Sandro T. <mat...@gm...> - 2008年08月05日 17:27:28
On Mon, Aug 4, 2008 at 15:41, Sandro Tosi <mat...@gm...> wrote:
> 2008年8月4日 Michael Droettboom <md...@st...>:
>> The graphviz failing is my bad. I failed to test the latex doc build (since
>> it never works for me anyway due to a too-old version of latex). This is
>> fixed in SVN r5962, and a patch against doc/sphinxext/inheritance_diagram.py
>> is attached.
> I'll apply it once at home and test if works in Debian: Thanks for the
> prompt reply!!
Patch applied and matplotlib 0.98.3 version has just been uploaded in
Debian: thank you guys for the support!!
A mail to Debian Release Team has been sent[1], let's see if they'll
accept it for Lenny.
Cheers,
Sandro
[1] http://lists.debian.org/debian-release/2008/08/msg00258.html
-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Ewald Z. <ewa...@gm...> - 2008年08月05日 16:06:49
Hi All,
I'd like to use a matplotlib widget in a GUI app I'm working on. I have
tried qwt but I know matplotlib a lot better and would like to use it
instead. Is there anybody who have done this before? More specifically, does
anyone know how to add a matplotlib widget as a custom widget in qt4
designer?
Any help will be greatly appreciated,
Ewald Zietsman
From: Jonathan H. http://JonathansCorner.c. <chr...@gm...> - 2008年08月05日 15:49:49
P.S.
I have found that I can mitigate the problem by changing the axes: changing,
ax = pylab.axes([0.1, 0.1, 0.8, 0.8])
to
ax = pylab.axes([0.2, 0.2, 0.6, 0.6])
shrinks almost everything towards the center, meaning that some things no
longer get cut off.
(But this is at the expense of a smaller overall picture, that isn't doing
quite the same job graphically.)
This offers a partial workaround, but it's nowhere near so good as it would
be to move the labels inward so they don't get cut off (while keeping the
pie graph at a preferred size for the graph itself).
On Tue, Aug 5, 2008 at 10:42 AM, Mathieu Leplatre <lep...@gm...>wrote:
> On Tue, Aug 5, 2008 at 12:21 PM, Jonathan Hayward,
> http://JonathansCorner.com <chr...@gm...>
> wrote:
> > The pie chart sometimes cuts off even relatively short labels that extend
> > beyond the edge of the image (.1, .1, .8, .8).
> >
> > What is the best way to dodge labels getting cut off, or is there not
> much
> > of a good way?
> >
> > TIA,
>
> I think I am facing a similar problem. I would like to auto-adjust the
> chart frame.
>
> For example, doing this, the title is cropped :
>
> import pylab
> pylab.plot([1,2,3])
> pylab.title('Big One', fontsize=72)
> pylab.show()
>
-- 
-- Jonathan Hayward, chr...@gm...
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
++ Would you like to curl up with one of my hardcover books?
++ You can now get my books from http://CJSHayward.com
From: Mathieu L. <lep...@gm...> - 2008年08月05日 15:42:44
On Tue, Aug 5, 2008 at 12:21 PM, Jonathan Hayward,
http://JonathansCorner.com <chr...@gm...>
wrote:
> The pie chart sometimes cuts off even relatively short labels that extend
> beyond the edge of the image (.1, .1, .8, .8).
>
> What is the best way to dodge labels getting cut off, or is there not much
> of a good way?
>
> TIA,
I think I am facing a similar problem. I would like to auto-adjust the
chart frame.
For example, doing this, the title is cropped :
import pylab
pylab.plot([1,2,3])
pylab.title('Big One', fontsize=72)
pylab.show()
From: Jonathan H. http://JonathansCorner.c. <chr...@gm...> - 2008年08月05日 15:21:56
The pie chart sometimes cuts off even relatively short labels that extend
beyond the edge of the image (.1, .1, .8, .8).
What is the best way to dodge labels getting cut off, or is there not much
of a good way?
TIA,
-- 
-- Jonathan Hayward, chr...@gm...
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
++ Would you like to curl up with one of my hardcover books?
++ You can now get my books from http://CJSHayward.com
From: Mikhail G. <dot...@do...> - 2008年08月05日 07:39:50
Twas brillig at 15:54:08 03.08.2008 UTC+07 when dot...@do... did gyre and gimble:
 MG> As Lenny is already in freeze, I backported fix to 0.4.1 and now
 MG> trying to get the confirmation from release team to upload it to
 MG> testing-proposed-updates.
sphinx 0.4.1-2lenny1 is now in testing-proposed-updates.
-- 
From: Zane S. <za...@id...> - 2008年08月04日 16:48:27
Does anyone out there happen to know a simple algorithm for least 
squares fitting a great circle to a given set of lat/lon points on a 
sphere? Seems like it might not be a crazy thing to add to the library.
Thanks!
Zane
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
za...@id...
303/815-6866
PGP Key: 55E0815F
From: Ben A. <bax...@co...> - 2008年08月04日 15:34:23
Thanks,
I think it is great that the color can be specified as either 3 or 4 columns. It would be nice if the bar plot color arguments also had this flexibility. They currently fail when the color has 4 columns.
Will this bug fix need to wait until the next official release? (I am constrained to using the official releases and not the svn code).
Thanks,
-Ben
-----Original Message-----
From: Michael Droettboom [mailto:md...@st...]
Sent: Monday, August 04, 2008 10:17 AM
To: Ben Axelrod
Cc: mat...@li...
Subject: Re: [Matplotlib-users] 0.98.3 scatter plot color bug?
Looks like a bug -- it should accept either 3 or 4 columns. I'll have a
chance to look at this further this afternoon.
Cheers,
Mike
Ben Axelrod wrote:
>
> I get an error when I use the scatter plot and set the 'c' value to a
> list of 3-tuples. The error goes away if I use 4-tuples instead. Are
> colors with only 3 values not supported anymore?
>
> ...
>
> File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 4807, in
> scatter
>
> colors = mcolors.colorConverter.to_rgba_array(c, alpha)
>
> File "C:\Python24\Lib\site-packages\matplotlib\colors.py", line 343,
> in to_rgba_array
>
> c[i] = self.to_rgba(cc, alpha) # change in place
>
> ValueError: shape mismatch: objects cannot be broadcast to a single shape
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Michael D. <md...@st...> - 2008年08月04日 15:17:26
Looks like a bug -- it should accept either 3 or 4 columns. I'll have a 
chance to look at this further this afternoon.
Cheers,
Mike
Ben Axelrod wrote:
>
> I get an error when I use the scatter plot and set the ‘c’ value to a 
> list of 3-tuples. The error goes away if I use 4-tuples instead. Are 
> colors with only 3 values not supported anymore?
>
> ...
>
> File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 4807, in 
> scatter
>
> colors = mcolors.colorConverter.to_rgba_array(c, alpha)
>
> File "C:\Python24\Lib\site-packages\matplotlib\colors.py", line 343, 
> in to_rgba_array
>
> c[i] = self.to_rgba(cc, alpha) # change in place
>
> ValueError: shape mismatch: objects cannot be broadcast to a single shape
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Ben A. <bax...@co...> - 2008年08月04日 15:05:13
I get an error when I use the scatter plot and set the 'c' value to a list of 3-tuples. The error goes away if I use 4-tuples instead. Are colors with only 3 values not supported anymore?
 ...
 File "C:\Python24\Lib\site-packages\matplotlib\axes.py", line 4807, in scatter
 colors = mcolors.colorConverter.to_rgba_array(c, alpha)
 File "C:\Python24\Lib\site-packages\matplotlib\colors.py", line 343, in to_rgba_array
 c[i] = self.to_rgba(cc, alpha) # change in place
ValueError: shape mismatch: objects cannot be broadcast to a single shape
From: Sandro T. <mat...@gm...> - 2008年08月04日 13:41:09
2008年8月4日 Michael Droettboom <md...@st...>:
> The graphviz failing is my bad. I failed to test the latex doc build (since
> it never works for me anyway due to a too-old version of latex). This is
> fixed in SVN r5962, and a patch against doc/sphinxext/inheritance_diagram.py
> is attached.
Err... the attached patch is empty :D Anyhow, I'm subscribed to commit
ml, so I got it:
--- trunk/matplotlib/doc/sphinxext/inheritance_diagram.py
2008年08月04日 12:20:25 UTC (rev 5961)
+++ trunk/matplotlib/doc/sphinxext/inheritance_diagram.py
2008年08月04日 13:09:02 UTC (rev 5962)
@@ -346,7 +346,7 @@
 parts = node['parts']
 graph_hash = get_graph_hash(node)
- name = "inheritance%s"
+ name = "inheritance%s" % graph_hash
 pdf_path = os.path.join('_static', name + ".pdf")
 graph.run_dot(['-Tpdf', '-o%s' % pdf_path],
(sorry if gmail wraps it).
I'll apply it once at home and test if works in Debian: Thanks for the
prompt reply!!
Sandro
-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: John H. <jd...@gm...> - 2008年08月04日 13:40:44
On Sun, Aug 3, 2008 at 1:19 PM, Charlie Moad <cw...@gm...> wrote:
> I was going to wait on John about the docs, but I went ahead and cut the
> 0.98.3 release. The sdist including the docs was 34MB, so I decided not to
> include them. This would also cause the binaries to be huge if we included
> them there as well. The source release is up/tagged and I will post
> binaries asap.
I assume you are referring to the built (html, pdf) docs. While we
don't want to ship the doc builds, we do want to ship the doc sources.
 If you first do an svn-clean before making the sdist the build comes
in around 5 MB.
Thanks for doing the release, BTW.
JDH
From: stuartornum <st...@mu...> - 2008年08月04日 13:37:05
Perfect!
Thanks guys
Did this in the end:
plot(Time, Value, 'o', markersize = 1, markerfacecolor = '#330066',
markeredgecolor = '#330066'
-- 
View this message in context: http://www.nabble.com/Using-Hex-number-with-shape-syntax-tp18808107p18811425.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
The graphviz failing is my bad. I failed to test the latex doc build 
(since it never works for me anyway due to a too-old version of latex). 
This is fixed in SVN r5962, and a patch against 
doc/sphinxext/inheritance_diagram.py is attached.
Cheers,
Mike
Sandro Tosi wrote:
> On Sun, Aug 3, 2008 at 20:29, Sandro Tosi <mat...@gm...> wrote:
> 
>> On Sun, Aug 3, 2008 at 20:19, Charlie Moad <cw...@gm...> wrote:
>> 
>>> I was going to wait on John about the docs, but I went ahead and cut the
>>> 0.98.3 release. The sdist including the docs was 34MB, so I decided not to
>>> include them. This would also cause the binaries to be huge if we included
>>> them there as well. The source release is up/tagged and I will post
>>> binaries asap.
>>> 
>> Thanks a lot, Charlie!! I'm downloading the brand new tarball and I'll
>> upgrade the Debian package short after.
>> 
>
> While building (in a clean chroot) the package to upload in Debian, I
> noticed some errors at doc creation (I attach the complete log, it
> might help you to track the issue), something like:
>
> WARNING: /tmp/buildd/matplotlib-0.98.3/build/lib.linux-x86_64-2.5/matplotlib/axes.py:docstring
> of matplotlib.axes.Axes.acorr:35: (ERROR/3) Unexpected indentation.
> WARNING: <autodoc>:0: (ERROR/3) Unexpected indentation.
> WARNING: /tmp/buildd/matplotlib-0.98.3/build/lib.linux-x86_64-2.5/matplotlib/backend_bases.py:docstring
> of matplotlib.backend_bases.FigureCanvasBase.stop_event_loop_default:8:
> (WARNING/2) Literal block expected; none found.
> WARNING: /tmp/buildd/matplotlib-0.98.3/doc/api/backend_qt4agg_api.rst:5:
> (WARNING/2) autodoc can't import/find module
> 'matplotlib.backends.backend_qt4agg', it reported error: "cannot
> import name QtCore",please check your spelling and sys.path
> WARNING: /tmp/buildd/matplotlib-0.98.3/doc/api/cbook_api.rst:9:
> (WARNING/2) error while formatting signature for
> matplotlib.cbook.Xlator: arg is not a Python function
> WARNING: /tmp/buildd/matplotlib-0.98.3/build/lib.linux-x86_64-2.5/matplotlib/pyplot.py:docstring
> of matplotlib.pyplot.acorr:55: (ERROR/3) Unexpected indentation.
> WARNING: /tmp/buildd/matplotlib-0.98.3/build/lib.linux-x86_64-2.5/matplotlib/pyplot.py:docstring
> of matplotlib.pyplot.annotate:17: (ERROR/3) Unexpected indentation.
> [...]
> resolving references...
> writing... Error: <stdin>:1: syntax error near line 1
> context: digraph >>> inheritance <<< s {
> WARNING: /tmp/buildd/matplotlib-0.98.3/doc/index.rst:None: (WARNING/2)
> 'dot' returned the errorcode 1
> WARNING: unusable reference target found:
> https://sourceforge.net/project/admin/?group_id=80706
> Error: <stdin>:1: syntax error near line 1
> context: digraph >>> inheritance <<< s {
> WARNING: /tmp/buildd/matplotlib-0.98.3/doc/index.rst:None: (WARNING/2)
> 'dot' returned the errorcode 1
> Error: <stdin>:1: syntax error near line 1
> context: digraph >>> inheritance <<< s {
> WARNING: /tmp/buildd/matplotlib-0.98.3/doc/index.rst:None: (WARNING/2)
> 'dot' returned the errorcode 1
> Error: <stdin>:1: syntax error near line 1
> context: digraph >>> inheritance <<< s {
> WARNING: /tmp/buildd/matplotlib-0.98.3/doc/index.rst:None: (WARNING/2)
> 'dot' returned the errorcode 1
>
> I don't know if something bad has happened in mpl code or something in
> Debian is broken right now (graphviz?), but it would help me if
> someone can confirm this is not happening only on my box.
>
> Thanks,
> 
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: John H. <jd...@gm...> - 2008年08月04日 12:20:06
On Mon, Aug 4, 2008 at 4:48 AM, Manuel Metz <mm...@as...> wrote:
> Use the named kwarg "linestyle":
>
> plot(Time, Value, '#330066', linestyle='.')
I think you meant marker, since the '.' represents a marker rather
than a linestyle
 plot(Time, Value, color='#330066', marker='.')
JDH
From: Manuel M. <mm...@as...> - 2008年08月04日 09:48:55
stuartornum wrote:
> Hi,
> 
> I am just playing around with different shapes and colours at the moment, I
> have managed the "standard" colours like this:
> 
> plot(Time, Value, 'r.')
> 
> Which obviously prints a red dot.
> 
> However how do use the hex colour map with the ".", I have tried:
> 
> plot(Time, Value, '#330066.')
> plot(Time, Value, '#330066,.')
> plot(Time, Value, '#330066' '.')
> plot(Time, Value, '#330066', '.')
> 
> Not quite sure on the syntax.
> 
Use the named kwarg "linestyle":
 plot(Time, Value, '#330066', linestyle='.')
From: stuartornum <st...@mu...> - 2008年08月04日 09:24:44
Hi,
I am just playing around with different shapes and colours at the moment, I
have managed the "standard" colours like this:
plot(Time, Value, 'r.')
Which obviously prints a red dot.
However how do use the hex colour map with the ".", I have tried:
plot(Time, Value, '#330066.')
plot(Time, Value, '#330066,.')
plot(Time, Value, '#330066' '.')
plot(Time, Value, '#330066', '.')
Not quite sure on the syntax.
Thank you in advance
-- 
View this message in context: http://www.nabble.com/Using-Hex-number-with-shape-syntax-tp18808107p18808107.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Sandro T. <mat...@gm...> - 2008年08月03日 21:16:57
On Sun, Aug 3, 2008 at 20:29, Sandro Tosi <mat...@gm...> wrote:
> On Sun, Aug 3, 2008 at 20:19, Charlie Moad <cw...@gm...> wrote:
>> I was going to wait on John about the docs, but I went ahead and cut the
>> 0.98.3 release. The sdist including the docs was 34MB, so I decided not to
>> include them. This would also cause the binaries to be huge if we included
>> them there as well. The source release is up/tagged and I will post
>> binaries asap.
>
> Thanks a lot, Charlie!! I'm downloading the brand new tarball and I'll
> upgrade the Debian package short after.
While building (in a clean chroot) the package to upload in Debian, I
noticed some errors at doc creation (I attach the complete log, it
might help you to track the issue), something like:
WARNING: /tmp/buildd/matplotlib-0.98.3/build/lib.linux-x86_64-2.5/matplotlib/axes.py:docstring
of matplotlib.axes.Axes.acorr:35: (ERROR/3) Unexpected indentation.
WARNING: <autodoc>:0: (ERROR/3) Unexpected indentation.
WARNING: /tmp/buildd/matplotlib-0.98.3/build/lib.linux-x86_64-2.5/matplotlib/backend_bases.py:docstring
of matplotlib.backend_bases.FigureCanvasBase.stop_event_loop_default:8:
(WARNING/2) Literal block expected; none found.
WARNING: /tmp/buildd/matplotlib-0.98.3/doc/api/backend_qt4agg_api.rst:5:
(WARNING/2) autodoc can't import/find module
'matplotlib.backends.backend_qt4agg', it reported error: "cannot
import name QtCore",please check your spelling and sys.path
WARNING: /tmp/buildd/matplotlib-0.98.3/doc/api/cbook_api.rst:9:
(WARNING/2) error while formatting signature for
matplotlib.cbook.Xlator: arg is not a Python function
WARNING: /tmp/buildd/matplotlib-0.98.3/build/lib.linux-x86_64-2.5/matplotlib/pyplot.py:docstring
of matplotlib.pyplot.acorr:55: (ERROR/3) Unexpected indentation.
WARNING: /tmp/buildd/matplotlib-0.98.3/build/lib.linux-x86_64-2.5/matplotlib/pyplot.py:docstring
of matplotlib.pyplot.annotate:17: (ERROR/3) Unexpected indentation.
[...]
resolving references...
writing... Error: <stdin>:1: syntax error near line 1
context: digraph >>> inheritance <<< s {
WARNING: /tmp/buildd/matplotlib-0.98.3/doc/index.rst:None: (WARNING/2)
'dot' returned the errorcode 1
WARNING: unusable reference target found:
https://sourceforge.net/project/admin/?group_id=80706
Error: <stdin>:1: syntax error near line 1
context: digraph >>> inheritance <<< s {
WARNING: /tmp/buildd/matplotlib-0.98.3/doc/index.rst:None: (WARNING/2)
'dot' returned the errorcode 1
Error: <stdin>:1: syntax error near line 1
context: digraph >>> inheritance <<< s {
WARNING: /tmp/buildd/matplotlib-0.98.3/doc/index.rst:None: (WARNING/2)
'dot' returned the errorcode 1
Error: <stdin>:1: syntax error near line 1
context: digraph >>> inheritance <<< s {
WARNING: /tmp/buildd/matplotlib-0.98.3/doc/index.rst:None: (WARNING/2)
'dot' returned the errorcode 1
I don't know if something bad has happened in mpl code or something in
Debian is broken right now (graphviz?), but it would help me if
someone can confirm this is not happening only on my box.
Thanks,
-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Charlie M. <cw...@gm...> - 2008年08月03日 18:47:50
Matplotlib 0.98.3 is now available for download. We are not pushing an
additional 0.91.x release at this time due to lack of updates to that
branch.
http://sourceforge.net/project/showfiles.php?group_id=80706
- Charlie
=================================================================
2008年08月03日 Released 0.98.3 at svn r5947
2008年08月01日 Backported memory leak fixes in _ttconv.cpp - MGD
2008年07月31日 Added masked array support to griddata. - JSW
2008年07月26日 Added optional C and reduce_C_function arguments to
 axes.hexbin(). This allows hexbin to accumulate the values
 of C based on the x,y coordinates and display in hexagonal
 bins. - ADS
2008年07月24日 Deprecated (raise NotImplementedError) all the mlab2
 functions from matplotlib.mlab out of concern that some of
 them were not clean room implementations. JDH
2008年07月24日 Rewrite of a significant portion of the clabel code (class
 ContourLabeler) to improve inlining. - DMK
2008年07月22日 Added Barbs polygon collection (similar to Quiver) for plotting
 wind barbs. Added corresponding helpers to Axes and pyplot as
 well. (examples/pylab_examples/barb_demo.py shows it off.) - RMM
2008年07月21日 Added scikits.delaunay as matplotlib.delaunay. Added griddata
 function in matplotlib.mlab, with example (griddata_demo.py) in
 pylab_examples. griddata function will use mpl_toolkits._natgrid
 if installed. - JSW
2008年07月21日 Re-introduced offset_copy that works in the context of the
 new transforms. - MGD
2008年07月21日 Committed patch by Ryan May to add get_offsets and
 set_offsets to Collections base class - EF
2008年07月21日 Changed the "asarray" strategy in image.py so that
 colormapping of masked input should work for all
 image types (thanks Klaus Zimmerman) - EF
2008年07月20日 Rewrote cbook.delete_masked_points and corresponding
 unit test to support rgb color array inputs, datetime
 inputs, etc. - EF
2008年07月20日 Renamed unit/axes_unit.py to cbook_unit.py and modified
 in accord with Ryan's move of delete_masked_points from
 axes to cbook. - EF
2008年07月18日 Check for nan and inf in axes.delete_masked_points().
 This should help hexbin and scatter deal with nans. - ADS
2008年07月17日 Added ability to manually select contour label locations.
 Also added a waitforbuttonpress function. - DMK
2008年07月17日 Fix bug with NaNs at end of path (thanks, Andrew Straw for
 the report) - MGD
2008年07月16日 Improve error handling in texmanager, thanks to Ian Henry
 for reporting - DSD
2008年07月12日 Added support for external backends with the
 "module://my_backend" syntax - JDH
2008年07月11日 Fix memory leak related to shared axes. Grouper should
 store weak references. - MGD
2008年07月10日 Bugfix: crash displaying fontconfig pattern - MGD
2008年07月10日 Bugfix: [ 2013963 ] update_datalim_bounds in Axes not works - MGD
2008年07月10日 Bugfix: [ 2014183 ] multiple imshow() causes gray edges - MGD
2008年07月09日 Fix rectangular axes patch on polar plots bug - MGD
2008年07月09日 Improve mathtext radical rendering - MGD
2008年07月08日 Improve mathtext superscript placement - MGD
2008年07月07日 Fix custom scales in pcolormesh (thanks Matthew Turk) - MGD
2008年07月03日 Implemented findobj method for artist and pyplot - see
 examples/pylab_examples/findobj_demo.py - JDH
2008年06月30日 Another attempt to fix TextWithDash - DSD
2008年06月30日 Removed Qt4 NavigationToolbar2.destroy -- it appears to
 have been unnecessary and caused a bug reported by P.
 Raybaut - DSD
2008年06月27日 Fixed tick positioning bug - MM
2008年06月27日 Fix dashed text bug where text was at the wrong end of the
 dash - MGD
2008年06月26日 Fix mathtext bug for expressions like $x_{\leftarrow}$ - MGD
2008年06月26日 Fix direction of horizontal/vertical hatches - MGD
2008年06月25日 Figure.figurePatch renamed Figure.patch, Axes.axesPatch
 renamed Axes.patch, Axes.axesFrame renamed Axes.frame,
 Axes.get_frame, which returns Axes.patch, is deprecated.
 Examples and users guide updated - JDH
2008年06月25日 Fix rendering quality of pcolor - MGD
From: Sandro T. <mat...@gm...> - 2008年08月03日 18:29:25
On Sun, Aug 3, 2008 at 20:19, Charlie Moad <cw...@gm...> wrote:
> On Sun, Aug 3, 2008 at 10:25 AM, Sandro Tosi <mat...@gm...> wrote:
>> John, when you can, please create an official point release: I'm ready
>> to package it, and the Debian Release Team asked me to upload in
>> unstable (the staging are before testing/Lenny) to evaluate its
>> inclusion in Lenny (so faster is better :D)
>
> I was going to wait on John about the docs, but I went ahead and cut the
> 0.98.3 release. The sdist including the docs was 34MB, so I decided not to
> include them. This would also cause the binaries to be huge if we included
> them there as well. The source release is up/tagged and I will post
> binaries asap.
Thanks a lot, Charlie!! I'm downloading the brand new tarball and I'll
upgrade the Debian package short after.
Cheers,
-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Charlie M. <cw...@gm...> - 2008年08月03日 18:19:23
On Sun, Aug 3, 2008 at 10:25 AM, Sandro Tosi <mat...@gm...> wrote:
> On Sun, Aug 3, 2008 at 10:54, Mikhail Gusarov <dot...@do...>
> wrote:
> > As Lenny is already in freeze, I backported fix to 0.4.1 and now trying
> > to get the confirmation from release team to upload it to
> > testing-proposed-updates.
> >
> > Please test the package: http://dottedmag.net/~mag/sphinx/
>
> I tested the package and it works fine (didn't test in a chroot, but
> it works with svn-bp).
>
> John, when you can, please create an official point release: I'm ready
> to package it, and the Debian Release Team asked me to upload in
> unstable (the staging are before testing/Lenny) to evaluate its
> inclusion in Lenny (so faster is better :D)
>
> Thanks,
> Sandro
>
> --
> Sandro Tosi (aka morph, Morpheus, matrixhasu)
> My website: http://matrixhasu.altervista.org/
> Me at Debian: http://wiki.debian.org/SandroTosi
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
I was going to wait on John about the docs, but I went ahead and cut the
0.98.3 release. The sdist including the docs was 34MB, so I decided not to
include them. This would also cause the binaries to be huge if we included
them there as well. The source release is up/tagged and I will post
binaries asap.
- Charlie
From: Sandro T. <mat...@gm...> - 2008年08月03日 14:26:02
On Sun, Aug 3, 2008 at 10:54, Mikhail Gusarov <dot...@do...> wrote:
> As Lenny is already in freeze, I backported fix to 0.4.1 and now trying
> to get the confirmation from release team to upload it to
> testing-proposed-updates.
>
> Please test the package: http://dottedmag.net/~mag/sphinx/
I tested the package and it works fine (didn't test in a chroot, but
it works with svn-bp).
John, when you can, please create an official point release: I'm ready
to package it, and the Debian Release Team asked me to upload in
unstable (the staging are before testing/Lenny) to evaluate its
inclusion in Lenny (so faster is better :D)
Thanks,
Sandro
-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Caleb M. <mat...@gm...> - 2008年08月03日 13:54:17
I'm plotting a 2d array representing energy-energy covariances:
 ...
 # (create and fill the 2d Array, 'mat')
 ...
 pylab.matshow( mat, origin='lower',
extent=(elist[0],elist[-1],elist[0],elist[-1]) )
http://www.nabble.com/file/p18798793/covars.png 
The 'extent' keyword puts the correct initial and final energies on the
scale for my matrix, but the energy range in between is not linear: can I
customize the scale further?
Also, I'd really like to plot both x and y axes of the array in log... so
far I haven't found documentation for this (pylab.loglog for example expects
two 1D arrays for x and f(x) )
Note that the minimum value for the matrix is actually 10^-5 eV, the next
point is at about 10^4 eV and it increases from there... so the current
scale is misleading.
Thanks for your help!
 Caleb
-- 
View this message in context: http://www.nabble.com/scale-for-2d-array-tp18798793p18798793.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
2 messages has been excluded from this view by a project administrator.

Showing results of 322

<< < 1 .. 9 10 11 12 13 > >> (Page 11 of 13)
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 によって変換されたページ (->オリジナル) /