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

Showing 10 results of 10

Jouni K. Seppänen <jk...@ik...> writes:
> Thomas Caswell <tca...@gm...>
> writes:
>
>> What OS and what branch are you using?
>>
>> Can you roll back to one commit before the most recent merge?
>> https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy
>> api. If that fixes it, please make a new issue on github reporting
>> the problem.
>
> I think there's clearly a bug in that review request. Does
> _backend_gdk.c not get compiled in tests?
I have a proposed fix in branch fix-gdk-strides of
https://github.com/jkseppan/matplotlib.git
but I don't seem to have any systems with the prerequisites to compiling
the gdk backend. Could someone who uses that backend try this out? It
seems that drawing images or mathtext would exercise the code.
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
Thomas Caswell <tca...@gm...>
writes:
> What OS and what branch are you using?
>
> Can you roll back to one commit before the most recent merge?
> https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy
> api. If that fixes it, please make a new issue on github reporting
> the problem.
I think there's clearly a bug in that review request. Does
_backend_gdk.c not get compiled in tests?
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Russell O. <ro...@uw...> - 2014年10月17日 17:50:01
On 10/15/14 3:19 PM, Russell Owen wrote:
> I have a polar graph that works fine on linux but is blank on MacOS
> 10.9. Here is a minimal working example (using the API because it is
> part of a larger Tkinter application):
>
> #!/usr/bin/env python2
> import Tkinter
> import matplotlib
> from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
>
> root = Tkinter.Tk()
> root["bg"] = "green" # the green should be hidden by the plot
>
> plotFig = matplotlib.figure.Figure(figsize=(5, 5), frameon=False)
> figCanvas = FigureCanvasTkAgg(plotFig, root)
> figCanvas.get_tk_widget().pack()
> axis = plotFig.add_subplot(1, 1, 1, polar=True, autoscale_on=True)
>
> r = (0.1, 0.4, 0.6, 0.8)
> theta = (0, 1.5, 3.0, 4.5) # radians, 0 to right. pi/2 up
> axis.plot(theta, r, marker="o", markeredgecolor="black", markersize=3)
> figCanvas.draw()
>
> root.mainloop()
>
>
> On MacOS 10.9 when I run this from Terminal I see a green window (rather
> than the plot I expect). When I click on the plot window to bring it to
> the front, the window turns white with a thin black border (presumably
> the plot, but with no content).
>
> Details:
> - matplotlib 1.3.1
> - Tcl/Tk 8.5.11 (for good reasons, unfortunately)
> - python.org python 2.7.6, running in 32-bit mode (due to a known issue
> with MacOS 10.9 and this old version of Tcl/Tk)
>
> Any ideas how to get the plot to show?
Looks like this is an incompatibility between Tcl/Tk 8.5.11 and MacOS 
10.9. Tcl/Tk 8.5.15 does not show the problem. Time to try to build 
8.5.17rc1 from source, I guess.
-- Russell
Please try with commit 7f71233d55683b1c1bda1b365b61f912f8a154df
What version of numpy are you using, we only support 1.6+
Tom
On Fri, Oct 17, 2014 at 1:35 PM, Nils Wagner <ni...@go...> wrote:
> I am using
>
> commit 0f4a68d3b75ae5ef192b1c90d876e18ff9de86c5
> Merge: 7f71233 b279c15
> Author: Thomas A Caswell <tca...@gm...>
> Date: Fri Oct 17 10:45:39 2014 -0400
>
> on opensuse12.3
>
>
> On Fri, Oct 17, 2014 at 7:14 PM, Thomas Caswell <tca...@gm...> wrote:
>>
>> What OS and what branch are you using?
>>
>> Can you roll back to one commit before the most recent merge?
>> https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy
>> api. If that fixes it, please make a new issue on github reporting
>> the problem.
>>
>>
>>
>> Tom
>>
>> On Fri, Oct 17, 2014 at 12:42 PM, Nils Wagner <ni...@go...>
>> wrote:
>> > Hi all,
>> >
>> > I cannot build matplotlib from git
>> >
>> > src/_backend_gdk.c: In function ‘pixbuf_get_pixels_array’:
>> > src/_backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named
>> > ‘strides’
>> > src/_backend_gdk.c:46:10: error: ‘PyArrayObject’ has no member named
>> > ‘base’
>> > error: command '/usr/bin/gcc' failed with exit status 1
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Comprehensive Server Monitoring with Site24x7.
>> > Monitor 10 servers for 9ドル/Month.
>> > Get alerted through email, SMS, voice calls or mobile push
>> > notifications.
>> > Take corrective actions from your mobile device.
>> > http://p.sf.net/sfu/Zoho
>> > _______________________________________________
>> > Matplotlib-users mailing list
>> > Mat...@li...
>> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> >
>>
>>
>>
>> --
>> Thomas Caswell
>> tca...@gm...
>
>
-- 
Thomas Caswell
tca...@gm...
What OS and what branch are you using?
Can you roll back to one commit before the most recent merge?
https://github.com/matplotlib/matplotlib/pull/3547 updated the numpy
api. If that fixes it, please make a new issue on github reporting
the problem.
Tom
On Fri, Oct 17, 2014 at 12:42 PM, Nils Wagner <ni...@go...> wrote:
> Hi all,
>
> I cannot build matplotlib from git
>
> src/_backend_gdk.c: In function ‘pixbuf_get_pixels_array’:
> src/_backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named
> ‘strides’
> src/_backend_gdk.c:46:10: error: ‘PyArrayObject’ has no member named ‘base’
> error: command '/usr/bin/gcc' failed with exit status 1
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for 9ドル/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
-- 
Thomas Caswell
tca...@gm...
Hi all,
I cannot build matplotlib from git
src/_backend_gdk.c: In function ‘pixbuf_get_pixels_array’:
src/_backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named
‘strides’
src/_backend_gdk.c:46:10: error: ‘PyArrayObject’ has no member named ‘base’
error: command '/usr/bin/gcc' failed with exit status 1
From: Werner <wer...@gm...> - 2014年10月17日 12:58:18
On 10/17/2014 13:27, Tommy Carstensen wrote:
> To matplotlib-users,
>
> basemap bluemarble() requires PIL, which is not available for Python3.
Have you tried using pillow? https://pypi.python.org/pypi/Pillow/2.6.1
It might just a drop in replacement, but that depends on how bluemarble 
uses PIL.
http://pillow.readthedocs.org/porting-pil-to-pillow.html
Werner
From: Paul H. <pmh...@gm...> - 2014年10月17日 12:23:17
Tom,
I believe the "pillow" package is the actively maintained fork of PIL.
Could be wrong on that though.
-p
On Fri, Oct 17, 2014 at 4:27 AM, Tommy Carstensen <
tom...@gm...> wrote:
> To matplotlib-users,
>
> basemap bluemarble() requires PIL, which is not available for Python3.
> What is the usual workaround, when using Python and wanting to do
> bluemarble()?
>
> Thanks,
> Tommy
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for 9ドル/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Tommy C. <tom...@gm...> - 2014年10月17日 11:28:31
To matplotlib-users,
basemap bluemarble() requires PIL, which is not available for Python3.
What is the usual workaround, when using Python and wanting to do
bluemarble()?
Thanks,
Tommy
From: Tommy C. <tom...@gm...> - 2014年10月17日 10:58:36
To matplotlib-users,
I ran the installation guide here on Mac OS:
http://matplotlib.org/basemap/users/installing.html
Except I did brew install geos and subsequently did:
export DYLD_LIBRARY_PATH=/Users/tc9/homebrew/lib
export GEOS_LIBRARY_PATH=/Users/tc9/homebrew/Cellar/geos/3.4.2
export GEOS_DIR=/Users/tc9/homebrew/Cellar/geos/3.4.2
And instead of python setup.py install I did:
/usr/local/bin/python3 setup.py install --user
I got this warning:
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py:260:
UserWarning: Unknown distribution option: 'namespace_packages'
 warnings.warn(msg)
When I try to run simpletest.py in the folder examples with
/usr/local/bin/python3 I get this error:
Assertion failed: (0), function query, file AbstractSTRtree.cpp, line 285.
Abort trap: 6
What am I doing wrong?
Thanks,
Tommy

Showing 10 results of 10

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