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



Showing 11 results of 11

From: <cl...@br...> - 2014年04月25日 18:49:24
Dear colleagues, 
Is there a artist function or routine available in matplotlib for drawing 
animated arrows following lines (like streamplot) in a 2D space, or even 
better in a 3D space? 
Thanks in advance for any hint, or sample code. 
Regards, 
Claude
Claude Falbriard 
Certified IT Specialist L2 - Middleware
AMS Hortolândia / SP - Brazil
phone: +55 13 9 9760 0453
cell: +55 13 9 8117 3316
e-mail: cl...@br...
From: Eric F. <ef...@ha...> - 2014年04月25日 18:42:55
On 2014年04月24日 11:40 PM, Tom Grydeland wrote:
> Hi all,
>
> I will explain what I’m trying to achieve first, then the approaches I’ve attempted so far, with results.
>
> I have data on a 2D grid which I want to present as an image — a la pyplot.imshow() — except that the grid is hexagonal, not rectangular. The grid can be represented in multiple ways, I use a regular 2D array with the convention that the lower left hex is (0,0), x increases to the right (crossing vertical hex boundaries) and y increases upwards slanting to the right.
>
Tom,
Have you considered adapting the code from the Axes.hexbin() method?
Ideally, the hexbin method might be split into two parts, one for the 
calculation and another for the plotting.
Eric
> Ideally, I’d also be able to have a colorbar.
>
> I’m giving my routines three input vectors: x, y and c. X and y are initially integers, then transformed to centerpoint coordinates using
> x, y = x+.5*y, y*np.cos(np.pi/6)
> while c is used to look up values in a colormap.
>
> I first tried to adapt ‘scatter_demo2.py’ to my needs. Unfortunately, the pyplot.scatter routine fails when given ‘c’ or ’s’ keywords, as has been reported elsewhere by somebody else:
> http://stackoverflow.com/questions/20524888/attributeerror-numpy-ndarray-object-has-no-attribute-get-matrix
>
> I’ve dug around in the code for a bit without finding out how this arises. It seems to me it has to do with how transforms are being handed around and at what point their representation is changed from objects to pure matrices. This backend appears to expect to see objects only, but is handed matrices instead. I’ve hacked my way around that one in backends/backend_macosx.py by changing lines around 79-80 from
> master_transform = master_transform.get_matrix()
> all_transforms = [t.get_matrix() for t in all_transforms]
> to
> try:
> master_transform = master_transform.get_matrix()
> except AttributeError: pass
> try:
> all_transforms = [t.get_matrix() for t in all_transforms]
> except AttributeError: pass
> (which is a dirty hack, but I don’t know how to do it right)
>
> Now I can run the scatter_demo2 script, and I can obviously have it produce hexes at uniform size, but the size of the hexagons are set independently of the axes. Good for symbols used to mark arbitrary coordinates, not so good when I try to cover the plane without gaps.
>
> Next, I’ve tried creating the patches one by one, essentially this:
>
> r = 1./np.sqrt(3)
> for xy, cc in zip(zip(x, y), c):
> hexp = mpl.patches.RegularPolygon(xy, 6, radius=r, facecolor=cc, edgecolor=’none')
> ax.add_patch(hexp)
> ax.autoscale_view()
> ax.figure.canvas.draw()
>
> This works as I want it to, but becomes unbearably slow when the number of hexes grows beyond a few thousand.
>
> Given that RegularPolygon can do the trick, it seems likely that RegularPolyCollection should also be able to?
>
> This is what I tried:
>
> ax = gca()
> collection = RegularPolyCollection(
> 6, # a pentagon
> rotation=(np.pi/7,),
> sizes=(.5/np.sqrt(3),),
> facecolors = cc,
> edgecolors = None,
> linewidths = (1,),
> offsets = zip(xx,yy),
> transOffset = ax.transData,
> )
> #collection.set_transform(ax.transData)
> ax.add_collection(collection, autolim=True)
>
> ax.autoscale_view()
> ax.figure.canvas.draw()
>
> This produces dots of minute sizes at the desired coordinates. I can tweak the size to make them bigger, but they don’t scale with the axes, as for the scatter_demo script used initially. Digging in the docs, I found a reference to the set_transform() method of Artists, so I tried setting that to ax.transData (the line commented out in the above snippet), and voila! I have hexagons covering the plane again. Strangely enough, they’re not in the right place anymore (and the locations change when zooming in or out), the sizes aren’t _quite_ right, the autoscaling of axes appear to believe the patches are where I wanted them to be, not where they appear on the plot, results are very different if saving to a figure instead of drawing to a figure window, etc.
>
> Is there a way I can make RegularPolyCollection patches transform with axes coordinates in the same way that RegularPolygon patches do?
>
> Am I barking up the wrong tree, is there another, blindingly obvious, way I should be doing this?
>
> The observant reader will also notice the strange rotation keyword given to RegularPolyCollection. This keyword is ignored in the macosx backend, and I have been unable to find out why.
>
> Thank you for all tips and pointers
>
> --Tom Grydeland
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Eric F. <ef...@ha...> - 2014年04月25日 18:39:04
Nathan,
Thanks for bringing this up. It looks like the short-term fix is to 
make the documentation match the code. Longer term, it seems to me like 
this is the sort of thing that should be deprecated; it doesn't belong 
in matplotlib any more.
Would you open an issue on Github, please? Even better: submit a pull 
request that fixes the documentation.
Eric
On 2014年04月25日 1:26 AM, Nathan Lindop wrote:
> Hello,
>
> I have been using the matplotlib.mlab.entropy function and have noticed
> that it may be incorrect. I have posted a question on stackoverflow here:
> http://stackoverflow.com/questions/23291576/matplotlib-mlab-entropy-calculation-incorrect
>
> I thought I would should it on the mailing list too. Does anyone have
> any ideas?
>
> Thanks,
> Nathan
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Paul H. <pmh...@gm...> - 2014年04月25日 14:49:37
You might have more luck reading in that data (dates with mixed format)
with pandas than numpy.
On Fri, Apr 25, 2014 at 2:37 AM, Mark Bakker <ma...@gm...> wrote:
> Thanks, Andreas, but it doesn't quite work.
>
> This works for me (I manually changed all dates to 'day-month-year' for
> testing):
>
> a = loadtxt('test.csv',converters={2:strpdate2num('%d-%m-%Y')})
>
> But when I define the same function in a separate function, as you
> suggested:
>
> def conv_date(s):
> return strpdate2num('%d-%m-%Y')
>
> and do
>
> a = loadtxt('test.csv',converters={2:conv_date})
>
> I get the non-descript error:
>
> loadtxt(fname, dtype, comments, delimiter, converters, skiprows, usecols,
> unpack, ndmin)
> 847 fh.close()
> 848
> --> 849 X = np.array(X, dtype)
> 850 # Multicolumn data are returned with shape (1, N, M), i.e.
> 851 # (1, 1, M) for a single row - remove the singleton dimension
> there
>
> SystemError: error return without exception set
>
> Any suggestions?
>
> Thanks, Mark
>
>
>
>
> On Fri, Apr 25, 2014 at 11:17 AM, Andreas Hilboll <li...@hi...>wrote:
>
>> On 25.04.2014 11:02, Mark Bakker wrote:
>> > OK, I figured out I can use:
>> > converters={0:strpdate2num('%d-%m-%y')}
>> >
>> > What now if part of my dates are given as 'day-month-year' and part as
>> > 'day/month/year' in the same file (I know, who does that, an I could do
>> > a replace first and then read it in). Can I specify both formats for the
>> > converter? I guess not....
>>
>> Try this:
>>
>> def _conv_date(s):
>> try:
>> return strpdate2num('%d-%m-%y')
>> except Exception: # figure out which exception class to use
>> return strpdate2num('%d/%m/%y')
>>
>> converters={0:_conv_date}
>>
>> Cheers, Andreas.
>>
>>
>> >
>> > Thanks,
>> >
>> > Mark
>> >
>> >
>> >
>> > On Fri, Apr 25, 2014 at 10:46 AM, Mark Bakker <ma...@gm...
>> > <mailto:ma...@gm...>> wrote:
>> >
>> > Hello List,
>> >
>> > datestr2num works great when dates are stored as month/day/year (as
>> > American like).
>> >
>> > Europeans store them as day/month/year.
>> >
>> > Any quick function to convert a day/month/year string do a date? Is
>> > there an eu version: datestr2numeu?
>> >
>> > Thanks,
>> >
>> > Mark
>> >
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Start Your Social Network Today - Download eXo Platform
>> > Build your Enterprise Intranet with eXo Platform Software
>> > Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> > Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> > http://p.sf.net/sfu/ExoPlatform
>> >
>> >
>> >
>> > _______________________________________________
>> > Matplotlib-users mailing list
>> > Mat...@li...
>> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> >
>>
>>
>> --
>> -- Andreas.
>>
>
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
From: Nathan L. <nal...@gm...> - 2014年04月25日 11:29:32
Hello,
I have been using the matplotlib.mlab.entropy function and have noticed that it may be incorrect. I have posted a question on stackoverflow here:
http://stackoverflow.com/questions/23291576/matplotlib-mlab-entropy-calculation-incorrect
I thought I would should it on the mailing list too. Does anyone have any ideas?
Thanks,
Nathan
From: Tom G. <tom...@gm...> - 2014年04月25日 09:40:45
Hi all,
I will explain what I’m trying to achieve first, then the approaches I’ve attempted so far, with results.
I have data on a 2D grid which I want to present as an image — a la pyplot.imshow() — except that the grid is hexagonal, not rectangular. The grid can be represented in multiple ways, I use a regular 2D array with the convention that the lower left hex is (0,0), x increases to the right (crossing vertical hex boundaries) and y increases upwards slanting to the right.
Ideally, I’d also be able to have a colorbar.
I’m giving my routines three input vectors: x, y and c. X and y are initially integers, then transformed to centerpoint coordinates using
 x, y = x+.5*y, y*np.cos(np.pi/6)
while c is used to look up values in a colormap.
I first tried to adapt ‘scatter_demo2.py’ to my needs. Unfortunately, the pyplot.scatter routine fails when given ‘c’ or ’s’ keywords, as has been reported elsewhere by somebody else:
 http://stackoverflow.com/questions/20524888/attributeerror-numpy-ndarray-object-has-no-attribute-get-matrix
I’ve dug around in the code for a bit without finding out how this arises. It seems to me it has to do with how transforms are being handed around and at what point their representation is changed from objects to pure matrices. This backend appears to expect to see objects only, but is handed matrices instead. I’ve hacked my way around that one in backends/backend_macosx.py by changing lines around 79-80 from
 master_transform = master_transform.get_matrix()
 all_transforms = [t.get_matrix() for t in all_transforms]
to
 try:
 master_transform = master_transform.get_matrix()
 except AttributeError: pass
 try:
 all_transforms = [t.get_matrix() for t in all_transforms]
 except AttributeError: pass
(which is a dirty hack, but I don’t know how to do it right)
Now I can run the scatter_demo2 script, and I can obviously have it produce hexes at uniform size, but the size of the hexagons are set independently of the axes. Good for symbols used to mark arbitrary coordinates, not so good when I try to cover the plane without gaps.
Next, I’ve tried creating the patches one by one, essentially this:
 r = 1./np.sqrt(3)
 for xy, cc in zip(zip(x, y), c):
 hexp = mpl.patches.RegularPolygon(xy, 6, radius=r, facecolor=cc, edgecolor=’none')
 ax.add_patch(hexp)
 ax.autoscale_view()
 ax.figure.canvas.draw()
This works as I want it to, but becomes unbearably slow when the number of hexes grows beyond a few thousand.
Given that RegularPolygon can do the trick, it seems likely that RegularPolyCollection should also be able to?
This is what I tried:
 ax = gca()
 collection = RegularPolyCollection(
 6, # a pentagon
 rotation=(np.pi/7,),
 sizes=(.5/np.sqrt(3),),
 facecolors = cc,
 edgecolors = None,
 linewidths = (1,),
 offsets = zip(xx,yy),
 transOffset = ax.transData,
 )
 #collection.set_transform(ax.transData)
 ax.add_collection(collection, autolim=True)
 ax.autoscale_view()
 ax.figure.canvas.draw()
This produces dots of minute sizes at the desired coordinates. I can tweak the size to make them bigger, but they don’t scale with the axes, as for the scatter_demo script used initially. Digging in the docs, I found a reference to the set_transform() method of Artists, so I tried setting that to ax.transData (the line commented out in the above snippet), and voila! I have hexagons covering the plane again. Strangely enough, they’re not in the right place anymore (and the locations change when zooming in or out), the sizes aren’t _quite_ right, the autoscaling of axes appear to believe the patches are where I wanted them to be, not where they appear on the plot, results are very different if saving to a figure instead of drawing to a figure window, etc.
Is there a way I can make RegularPolyCollection patches transform with axes coordinates in the same way that RegularPolygon patches do?
Am I barking up the wrong tree, is there another, blindingly obvious, way I should be doing this?
The observant reader will also notice the strange rotation keyword given to RegularPolyCollection. This keyword is ignored in the macosx backend, and I have been unable to find out why.
Thank you for all tips and pointers
--Tom Grydeland
From: Mark B. <ma...@gm...> - 2014年04月25日 09:37:53
Thanks, Andreas, but it doesn't quite work.
This works for me (I manually changed all dates to 'day-month-year' for
testing):
a = loadtxt('test.csv',converters={2:strpdate2num('%d-%m-%Y')})
But when I define the same function in a separate function, as you
suggested:
def conv_date(s):
 return strpdate2num('%d-%m-%Y')
and do
a = loadtxt('test.csv',converters={2:conv_date})
I get the non-descript error:
loadtxt(fname, dtype, comments, delimiter, converters, skiprows, usecols,
unpack, ndmin)
 847 fh.close()
 848
--> 849 X = np.array(X, dtype)
 850 # Multicolumn data are returned with shape (1, N, M), i.e.
 851 # (1, 1, M) for a single row - remove the singleton dimension
there
SystemError: error return without exception set
Any suggestions?
Thanks, Mark
On Fri, Apr 25, 2014 at 11:17 AM, Andreas Hilboll <li...@hi...> wrote:
> On 25.04.2014 11:02, Mark Bakker wrote:
> > OK, I figured out I can use:
> > converters={0:strpdate2num('%d-%m-%y')}
> >
> > What now if part of my dates are given as 'day-month-year' and part as
> > 'day/month/year' in the same file (I know, who does that, an I could do
> > a replace first and then read it in). Can I specify both formats for the
> > converter? I guess not....
>
> Try this:
>
> def _conv_date(s):
> try:
> return strpdate2num('%d-%m-%y')
> except Exception: # figure out which exception class to use
> return strpdate2num('%d/%m/%y')
>
> converters={0:_conv_date}
>
> Cheers, Andreas.
>
>
> >
> > Thanks,
> >
> > Mark
> >
> >
> >
> > On Fri, Apr 25, 2014 at 10:46 AM, Mark Bakker <ma...@gm...
> > <mailto:ma...@gm...>> wrote:
> >
> > Hello List,
> >
> > datestr2num works great when dates are stored as month/day/year (as
> > American like).
> >
> > Europeans store them as day/month/year.
> >
> > Any quick function to convert a day/month/year string do a date? Is
> > there an eu version: datestr2numeu?
> >
> > Thanks,
> >
> > Mark
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Start Your Social Network Today - Download eXo Platform
> > Build your Enterprise Intranet with eXo Platform Software
> > Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> > Get Started Now And Turn Your Intranet Into A Collaboration Platform
> > http://p.sf.net/sfu/ExoPlatform
> >
> >
> >
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
>
>
> --
> -- Andreas.
>
From: Andreas H. <li...@hi...> - 2014年04月25日 09:35:10
On 25.04.2014 11:02, Mark Bakker wrote:
> OK, I figured out I can use:
> converters={0:strpdate2num('%d-%m-%y')}
> 
> What now if part of my dates are given as 'day-month-year' and part as
> 'day/month/year' in the same file (I know, who does that, an I could do
> a replace first and then read it in). Can I specify both formats for the
> converter? I guess not....
Try this:
 def _conv_date(s):
 try:
 return strpdate2num('%d-%m-%y')
 except Exception: # figure out which exception class to use
 return strpdate2num('%d/%m/%y')
 converters={0:_conv_date}
Cheers, Andreas.
> 
> Thanks,
> 
> Mark
> 
> 
> 
> On Fri, Apr 25, 2014 at 10:46 AM, Mark Bakker <ma...@gm...
> <mailto:ma...@gm...>> wrote:
> 
> Hello List,
> 
> datestr2num works great when dates are stored as month/day/year (as
> American like).
> 
> Europeans store them as day/month/year.
> 
> Any quick function to convert a day/month/year string do a date? Is
> there an eu version: datestr2numeu?
> 
> Thanks,
> 
> Mark
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> 
> 
> 
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
-- 
-- Andreas.
From: Mark B. <ma...@gm...> - 2014年04月25日 09:02:57
OK, I figured out I can use:
converters={0:strpdate2num('%d-%m-%y')}
What now if part of my dates are given as 'day-month-year' and part as
'day/month/year' in the same file (I know, who does that, an I could do a
replace first and then read it in). Can I specify both formats for the
converter? I guess not....
Thanks,
Mark
On Fri, Apr 25, 2014 at 10:46 AM, Mark Bakker <ma...@gm...> wrote:
> Hello List,
>
> datestr2num works great when dates are stored as month/day/year (as
> American like).
>
> Europeans store them as day/month/year.
>
> Any quick function to convert a day/month/year string do a date? Is there
> an eu version: datestr2numeu?
>
> Thanks,
>
> Mark
>
From: Mark B. <ma...@gm...> - 2014年04月25日 08:46:39
Hello List,
datestr2num works great when dates are stored as month/day/year (as
American like).
Europeans store them as day/month/year.
Any quick function to convert a day/month/year string do a date? Is there
an eu version: datestr2numeu?
Thanks,
Mark
From: Michael M. <mic...@gm...> - 2014年04月25日 03:52:58
On 4/23/2014 2:41 PM, Eric Firing wrote:
> On 2014年04月23日 11:19 AM, Michael Mossey wrote:
>> I'm sorry, these are questions that could be found in the Axes
>> documentation, but I really don't feel like scrolling through 100 pages
>> that are irrelevant hoping I can find the relevant functions, which I
>> don't even know what they are called. Is there ever going to be a
>> concise listing of functions? Also there seem to be a lot of
> PRs for doc improvements are welcome!
>
>> undocumented functions related to bounding boxes and copying from the
>> background--I had to find Stack Overflow examples to learn about those.
> Doesn't the search box in the html docs help? Or just plain browser
> searching when you are looking at the Axes API docs?
>
> I also find that ipython is very helpful, with tab completion and the
> question mark for getting the doc string. E.g., make an axes object and
> then use tab completion to see the methods that start with auto, and
> follow with a question mark to see the docstring. Or a double question
> mark to see the code.
Thanks for the suggestions, I'll try them. I working with WinPython so I 
think I already have ipython and Spyder to help me.
Mike

Showing 11 results of 11

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