[Matplotlib-users] ImportError when import pylab

2009-06-27 Thread Daniel
hi list, I'm new to matplotlib. My environment is WinXP, PythonWin 2.6.2, NumPy 1.3.0, matplotlib 0.98.5.3. >>> import matplotlib.pylab as pylab Traceback (most recent call last): File "", line 1, in File "D:\Python26\lib\site-packages\matplotlib\pylab.py", line 253, in from matplotlib.

[Matplotlib-users] Fast plotting of many data points in Python?

2009-07-11 Thread Daniel Platz
recommend me a faster plotting library? It would be really cool if one could embed this in wxPython. If someone has an idea I would be very glad about answer. With kind regards, Daniel -- Enter the BlackBerry Developer

[Matplotlib-users] matplotlib and wing ide

2009-07-24 Thread Daniel Platz
() method does not return and the shell freezes. Has anyone experience with interactive plotting in wing? Thanks in advance. With kind regards, Daniel -- ___ Matplotlib-users

[Matplotlib-users] Custom ticklabels on colorbar

2009-08-20 Thread Daniel Platz
s only works for the last two subplots with the syntax shown above. The same syntax has no effect on the first two subplots. If anybody has some ideas I would be really gald about an answer. Thanks in advance Daniel --

Re: [Matplotlib-users] Custom ticklabels on colorbar

2009-08-20 Thread Daniel Platz
=0.00, ticks=[-np.pi, -np.pi/2, 0.0, np.pi/2, np.pi]) cb4.ax.set_xticklabels([r'$-\pi$', r'$-\frac{\pi}{2}$', r'$0$', r'$\frac{\pi}{2}$', r'$\pi$'],fontsize=10) Daniel Jouni K. Seppänen wrote: > Daniel Platz writes: > >> t

Re: [Matplotlib-users] Custom ticklabels on colorbar

2009-08-25 Thread Daniel Platz
mp,fontsize=10,family='serif') setp(cb1.ax.get_xticklines(),visible=False) plt.draw() a= ax1.get_position().get_points() b= cb1.ax.get_position().get_points() temp = [a[0,0], b[0,1], (a[1,0]-a[0,0]), (b[1,1]-b[0,1])] cb1.ax.set_position(temp) I am using mat

[Matplotlib-users] Installing MatPlotLib on Snow Leopard

2009-12-08 Thread Daniel Brown
up what I did in case anyone else is having issues installing on Snow Leopard [1]. Cheers, Daniel [1] - http://www.endlesslycurious.com/2009/12/08/installing-matplotlib-on-snow-leopard-with-macports/ -- Return on

[Matplotlib-users] controlling padding between axis and ticklabels in polar plots

2010-04-13 Thread Daniel Platz
e a simple trick to change the default ticklabelpad between the axis and the ticklabels or do I have to do this manually by changing the position of every single ticklabel? About a short answer I would be very glad. With kind regard

Re: [Matplotlib-users] Mac backend problems for nearly all backends.

2010-05-25 Thread Daniel Welling
e OSX backend issue. Others whom I work with do not have this issue, but installed using EPD. Has anyone else experienced such problems? Thanks for your help; let me know if there's more info I can provide. -dw On Tue, May 25, 2010 at 12:47 PM, Daniel Welling wrote: > Greetings. > > I d

[Matplotlib-users] Mac backend problems for nearly all backends.

2010-05-25 Thread Daniel Welling
Greetings. I did quite a bit of digging on this and cannot find similar problems, but if I did miss an earlier discussion, then I apologize. In any case, I have been having royal problems with GUI backends and matplotlib. Some background on where I've been having these problems: Machine 1: OSX 10

Re: [Matplotlib-users] Mac backend problems for nearly all backends.

2010-05-25 Thread Daniel Welling
Thanks for the info... 1)The problem does manifest in the same manner through the normal python prompt. 2) I'm not sure what is meant by a "framework install." Everything (except MPL 99.1.1) was installed through fink. 3) I've never had problems with Fink software before, and I have a crapload (te

Re: [Matplotlib-users] Mac backend problems for nearly all backends.

2010-05-25 Thread Daniel Welling
2) In which case, it's not a framework install. Fink puts everything into /sw/; there's nothing to do with pyton in /Library/Frameworks. Thanks for the clarification; I'm tempted to get Python from source and try this... -dw On Tue, May 25, 2010 at 10:41 PM, Michiel de Hoon wrote: > > > 1)The p

[Matplotlib-users] threading problems

2008-06-19 Thread Daniel Ashbrook
I need to have a plot window hang around and be occasionally updated by my script as it does things. I've been looking through examples and have not been able to get anything to work. My current approach, inspired by strip_chart_demo.py and others in the animation examples, is: import gobject,

Re: [Matplotlib-users] threading problems

2008-06-19 Thread Daniel Ashbrook
John Hunter wrote: > Use the gtk mainloop and do your figure updates in a timeout add or a > idle handler (as suggested in the animation tutorial at > http://www.scipy.org/Cookbook/Matplotlib/Animations Excellent, thanks. Your sample code adapted nicely; appended below for posterity. dan imp

Re: [Matplotlib-users] threading problems

2008-06-19 Thread Daniel Ashbrook
John Hunter wrote: > I don't think this is what you want. gtk is already threaded. By > doing things in the gtk mainloop, you are using their threading. You > are asking for a world of pain if you try and mix in python threading > unless you really know what you are doing. The point of the exam

[Matplotlib-users] ginput then show causes segfault

2009-02-21 Thread Daniel Soto
i'd like to plot some data, get user input, and then plot the original data and user input. when i try to show() the data i get a segfault after about ten seconds. any clue what i'm doing wrong? using mac os x 10.5 with enthought distribution. thanks, drs #!/usr/bin/env python import py

[Matplotlib-users] ginput then show causes segfault

2009-02-22 Thread Daniel Soto
i'd like to plot some data, get user input, and then plot the original data and user input. when i try to show() the data i get a segfault after about ten seconds. any clue what i'm doing wrong? using mac os x 10.5 with enthought distribution. thanks, drs #!/usr/bin/env python import py

[Matplotlib-users] upgrading matplotlib within EPD

2009-02-25 Thread Daniel Soto
does anyone know how to upgrade the matplotlib package that ships with the enthought python distribution? the current enthought release matplotlib is 0.98.3 and i'd like to upgrade to 0.98.5. i'm on an os x intel platform running leopard. thank you, d

[Matplotlib-users] sluggish pdfs with large data sets

2009-03-02 Thread Daniel Soto
hello, i'm using matplotlib on os x and am having issues with plots of large data sets. i have some plots which contain about ~1 points and the pdf files generated bring preview.app and quicklook to their knees when they open the pdf files. here is a small file that reproduces my issue

Re: [Matplotlib-users] sluggish pdfs with large data sets

2009-03-03 Thread Daniel Soto
matplotlib import rcParam > rcParam['path.simplify'] = True > > or in your matplotlibrc file: > > path.simplify: True > > Hope that helps. The amount of reduction this produces is somewhat > data-dependent. > > Cheers, > Mike > > Daniel Soto w

Re: [Matplotlib-users] sluggish pdfs with large data sets

2009-03-03 Thread Daniel Soto
th something like: > > data = data[::skip] > > where 'skip' is the number of data points to skip. > > Cheers, > Mike > > Daniel Soto wrote: >> thanks for the suggestion. i'm running 0.98.3 and have tried >> >> pdf.compression >> path.

[Matplotlib-users] error with ginput

2009-03-03 Thread Daniel Soto
hello, ginput isn't working for me right now but was when i was using 0.98.3. running the script below gives me the following traceback. anyone know what is going on? thx, drs > python -c "import matplotlib;print matplotlib.__version__" 0.98.5.2 > ./gaelInput.py Please click Traceback (most r

Re: [Matplotlib-users] error with ginput

2009-03-03 Thread Daniel Soto
> this seems to be because the default backend was set to something without a gui. i set backend to WXAgg and it works now. > -- > > Message: 7 > Date: Tue, 3 Mar 2009 16:44:41 -0800 > From: Daniel Soto > Subject: [Matplotlib-users] error with gi

[Matplotlib-users] xlabel getting chopped off

2009-03-05 Thread Daniel Soto
i'm having a problem with an xlabel getting chopped off at the bottom of a figure. i've looked through the matplotlibrc parameters and can't find anything that addresses this. toying with the figure.subplot.* didn't seem to have an effect. how can i prevent this from happening? thx, drs

Re: [Matplotlib-users] xlabel getting chopped off

2009-03-05 Thread Daniel Soto
brilliant. that worked nicely. thanks ryan, drs On 5 Mar 2009, at 17:44, Ryan May wrote: > > > On Thu, Mar 5, 2009 at 6:24 PM, Daniel Soto > wrote: > i'm having a problem with an xlabel getting chopped off at the bottom > of a figure. > i've looked through

[Matplotlib-users] draggable annotation bug and fix

2011-09-15 Thread Daniel Hyams
on.textcoords = "figure pixels" self.update_offset(0.0,0.0) # <--- add this! It might be sufficient to just set self.annotation.xytext to self.ox,self.oy instead of calling update_offset like I did

[Matplotlib-users] bug report and fix for bracket arrow (annotations)

2011-09-16 Thread Daniel Hyams
# flip these arguments widthA=widthA, lengthA=lengthA, angleA=angleA ) -- Daniel Hyams dhy...@gmail.com -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.s

Re: [Matplotlib-users] XRC or Pythoncard

2011-09-20 Thread Daniel Hyams
_ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Daniel Hyams dhy...@gmail.com

[Matplotlib-users] finding the bounding box of an arbitrary artist

2011-10-07 Thread Daniel Hyams
hat the "hitbox" is being calculated on the fly in XAxis.contains(). -- Daniel Hyams dhy...@gmail.com -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitiv

[Matplotlib-users] Small bug in XAxis.contains() and YAxis.contains()

2011-10-08 Thread Daniel Hyams
The pick radius for the X and Y axis artists are one-sided; is that intentional? Original (in class XAxis), file axis.py: def contains(self,mouseevent): """Test whether the mouse event occured in the x axis. """ if callable(self._contains): return self._contains(self,m

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-19 Thread Daniel Hyams
a blending properly in the > image class, then the user wouldn't have to deal with such details.  A bug > should probably be filed in the matplotlib issue tracker for this. > > Mike > > On 10/19/2011 12:23 PM, Daniel Hyams wrote: > > [Sorry, I keep getting tripped up wit

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-20 Thread Daniel Hyams
lter_rgba.h, rebuilding matplotlib, and replacing _image.so/_image.pyd and _backend_agg.so/_backend_agg.pyd does the trick (along with passing straight alphas). So far, I've seen no ill effects on any of my plots, but I'm also not in a position to run the pixel-by-pixel comparison matplotlib tes

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-21 Thread Daniel Hyams
remultiplied in at the latest possible moment. Thanks for all of the help with this Mike, Daniel On Fri, Oct 21, 2011 at 9:31 AM, Michael Droettboom wrote: > Thanks for looking into this deeper. > > Agg requires image buffers to be premultiplied, as described in the third > bullet point

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-21 Thread Daniel Hyams
> Thanks for clarifying.  I understand what you're saying now.  I think > what we want to do is store the unmultiplied alpha as a "canonical" > version of the image, and premultiply a copy (or use some C++ iterator > magic to avoid the copy) right before sending it off to Agg.  Then the > alpha can

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-22 Thread Daniel Hyams
Michael: I commented on the patch here: https://github.com/matplotlib/matplotlib/issues/545 In short...it works! -- The demand for IT networking professionals continues to grow, and the demand for specialized networking

Re: [Matplotlib-users] matplotlib.axes.Axes.arrow not producing nice arrows

2011-10-27 Thread Daniel Hyams
omplimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net >

[Matplotlib-users] Updating/drawing all axes.

2011-10-30 Thread Daniel Welling
Greetings, MatPlotLibbers. Since 1.1, pyplot.draw() in interactive mode only updates the current axis. If I want to update many axes, I need to use sca() and draw() for each one. Is there a way to update all axes? Thanks. -dw -

Re: [Matplotlib-users] cmap normalization question

2011-10-31 Thread Daniel Hyams
w supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sour

Re: [Matplotlib-users] Loading txt files

2011-11-01 Thread Daniel Hyams
___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Daniel Hyams dhy...@gmail.com ---

Re: [Matplotlib-users] Build MPL with VS 2008 problem

2011-11-02 Thread Daniel Hyams
+--+ > > > -- > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > ___ > Matplotlib-users mailing list >

Re: [Matplotlib-users] Matplotlib 1.1.0 animation vs. contour plots

2011-11-13 Thread Daniel Hyams
This looks like a bug in matplotlib to me; I get the same thing. The basic issue is that QuadContourSet is derived from an artist, and so does not have all of the artist methods; the animation framework depends on the things that it is animating being artists. The following monkey patch fixes it

Re: [Matplotlib-users] Matplotlib 1.1.0 animation vs. contour plots

2011-11-13 Thread Daniel Hyams
Oops; my sentence should have read "is *not* derived from an artist". On Sun, Nov 13, 2011 at 1:24 PM, Benjamin Root wrote: > > > On Sunday, November 13, 2011, Daniel Hyams wrote: >> This looks like a bug in matplotlib to me; I get the same thing. >> >> The

Re: [Matplotlib-users] Updating/drawing all axes.

2011-11-13 Thread Daniel Welling
, it should be a mac Framework install of python. Again, this problem did not manifest until MPL 1.1.0. Thanks for your help. -dw On Sun, Oct 30, 2011 at 10:06 AM, John Hunter wrote: > .draw() > > On Sun, Oct 30, 2011 at 10:51 AM, Daniel Welling > wrote: > > Greetings, Mat

[Matplotlib-users] Triangulation objects

2011-11-13 Thread Daniel Welling
Greetings. I am interested in accessing Triangulation objections that are created by MPL for tricontour-type plots. The docs for MPL routines that use triangulation objects refer to documentation, but none exists in the MPL online docs. Does anyone have docs/info on using these objects? Having

Re: [Matplotlib-users] Matplotlib 1.1.0 animation vs. contour plots

2011-11-13 Thread Daniel Hyams
here is no bit-mapped representation of > a contour object? It's not really that, it's just that the animation class expects to be given a list of Artists to work with (the original author can correct me if I'm wrong), and that's not what it is being given, because a QuadContourSet is no

Re: [Matplotlib-users] Matplotlib 1.1.0 animation vs. contour plots

2011-11-13 Thread Daniel Hyams
It's not "official", but just idiomatic, I suppose ;) http://en.wikipedia.org/wiki/Monkey_patch http://paulirish.com/2010/duck-punching-with-jquery/ > > Is that an official term? I have done things like this before, but never had > a word for it. > > Ben

[Matplotlib-users] Triangulations and Polar Plots

2011-11-14 Thread Daniel Welling
Greetings. I recently found myself in the position of needing to plot polar, irregularly spaced data. I've done similar using regularly spaced values with no problem. However, I've found that when the points become greatly scattered, the triangulation does not translate from rectangular to polar

Re: [Matplotlib-users] [ploting data] Live data

2011-12-02 Thread Daniel Hyams
his script > # with the same return code of Qt application > sys.exit(qApp.exec_()) > > > ------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers

[Matplotlib-users] collections?

2011-12-09 Thread Daniel Hyams
This appears to work at first blush, but if you resize the plot, you can tell that the rectangles are just fixed in their location now. I tried messing around with setting the transform for the new collection object "coll" in different ways, to no avail. Any suggestions welcome ;)

Re: [Matplotlib-users] collections?

2011-12-09 Thread Daniel Hyams
Tried, but unfortunately it did not make any difference :( On Fri, Dec 9, 2011 at 2:22 PM, Tony Yu wrote: > > > On Fri, Dec 9, 2011 at 2:13 PM, Daniel Hyams wrote: > >> I can't tell if I'm misusing collections here, or if there is a bug. >> Anyway, what I

Re: [Matplotlib-users] collections?

2011-12-09 Thread Daniel Hyams
I'm sorry, I should have stated the version. I'm using 1.0.0, which just returns a list of rectangle artists. On Fri, Dec 9, 2011 at 4:08 PM, Benjamin Root wrote: > On Fri, Dec 9, 2011 at 2:55 PM, Daniel Hyams wrote: > >> Tried, but unfortunately it did not make any diff

Re: [Matplotlib-users] collections?

2011-12-11 Thread Daniel Hyams
m) add the collection. On Fri, Dec 9, 2011 at 5:27 PM, Tony Yu wrote: > > On Fri, Dec 9, 2011 at 5:23 PM, Tony Yu wrote: > >> >> >> On Fri, Dec 9, 2011 at 4:11 PM, Daniel Hyams wrote: >> >>> I'm sorry, I should have stated the version. I'm u

Re: [Matplotlib-users] cycling mechanism

2012-01-05 Thread Daniel Hyams
- > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than

Re: [Matplotlib-users] How to plot Chebyshev polynolmials

2012-01-10 Thread Daniel Hyams
- > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportun

Re: [Matplotlib-users] How to plot Chebyshev polynolmials

2012-01-10 Thread Daniel Hyams
ebitchev polynomial. > > 2012/1/10 Daniel Hyams : > > I think that you're misusing Chebyshev (do you really only want to give > "3" > > as a coefficient..which is just the constant function 3), and you have to > > evaluate it in order to give matplotlib some x

[Matplotlib-users] Selecting a color from a given color map.

2012-02-16 Thread Daniel Welling
Greetings. I have a series of lines that I would like to plot on the same axis, but I would like to set the color of each such that the range of colors used progresses through a given color map (e.g. the default Jet map.) For example, if I have 7 lines, the first would use the first most color fr

Re: [Matplotlib-users] sample to contribute to mpl gallery

2012-03-20 Thread Daniel Hyams
Oops, one thing about the graph that I forgot to point out...does the antialiasing look a little funny? It seems a bit inconsistent, especially as the line goes flat. I increased the line width in an effort to make it less obvious; is there some other way to improve this behavior? --

[Matplotlib-users] Plot line/Line2D with edgecolor

2012-06-27 Thread Daniel Platz
could not find anything. Has someone an idea? Thanks in advance Daniel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT man

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-11 Thread Daniel Hyams
cussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______ > Matplotlib

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-11 Thread Daniel Hyams
to the networkx authors. On Wed, Jul 11, 2012 at 1:02 PM, Daniel Hyams wrote: > To get rid of the networkx dependency, I just replaced my_plot() with this: > > def my_plot(figure): > figure.clear() > axes = figure.add_subplot(1,1,1) > axes.plot([0,1,2],[2,3,4]) >

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-11 Thread Daniel Hyams
; > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpo

[Matplotlib-users] How to compile under windows?

2012-07-11 Thread Daniel Hyams
I looked around in the docs a bit but didn't find anything...is there a guide / set of recommended practices when trying to build matplotlib from source on Windows? -- Daniel Hyams dhy...@gmail.com -- Live Sec

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-12 Thread Daniel Hyams
-- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint s

Re: [Matplotlib-users] FancyBBox set_width

2012-08-19 Thread Daniel Hyams
IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net &

Re: [Matplotlib-users] FancyBBox set_width

2012-08-19 Thread Daniel Hyams
ill cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _____

[Matplotlib-users] Problem with contains() on an arrow

2012-08-20 Thread Daniel Hyams
ack a STOP onto the end of the path, but that resulted in the same behavior. Can anyone else confirm this behavior? matplotlib 1.1.1 is what I'm using. Seen on both Windows, Linux, and OSX. -- Daniel Hyams dhy...@gmail.com arrow_contains_test.py Descripti

Re: [Matplotlib-users] Problem with contains() on an arrow

2012-08-20 Thread Daniel Hyams
sting for literally being on the "stroke"? If so, do we have to make sure that the proper one is called if there are no polygons involved in the path? On Mon, Aug 20, 2012 at 9:28 PM, Daniel Hyams wrote: > I've run into a strange problem with contains() on an arrow; there is a

[Matplotlib-users] sharex with different tick labels

2012-09-13 Thread Daniel Welling
Greetings, all. I have an issue: I have several axes stacked in a column with a common time vector on each x-axis. Each plot is a contour, so overplotting is not an option. In a perfect world, I want the following: 1) The subplots are tightly spaced such that with ax.grid() activated, the grid l

Re: [Matplotlib-users] Problem with contains() on an arrow

2012-09-15 Thread Daniel Hyams
Bump for this topic; I'd still love to know what the right thing is to do here. On Mon, Aug 20, 2012 at 10:08 PM, Daniel Hyams wrote: > Hmm, I just found out that if I change path.Path.contains_point to use > "point_on_path" instead of "point_in_path", the co

Re: [Matplotlib-users] uniqueness of polar coordinates (meaningfulness of r<0)

2012-12-17 Thread Daniel Hyams
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers &g

Re: [Matplotlib-users] finding the bounding box of an arbitrary artist

2013-01-01 Thread Daniel Hyams
ave a consistent interface as defined by the base class? On Dec 30, 2012 1:00 AM, "Michael McNeil Forbes" < michael.forbes+pyt...@gmail.com> wrote: > On 7 Oct 2011, at 4:56 PM, Daniel Hyams wrote: > > I'm wanting to highlight the artist under the cursor with a transparent

Re: [Matplotlib-users] mathtext and fonts under Windows 8

2013-01-12 Thread Daniel Hyams
- > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn mo

Re: [Matplotlib-users] mathtext and fonts under Windows 8

2013-01-17 Thread Daniel Hyams
> > > But the thing that bothers me about this error is that it only occurs if I > try to mix mathtext and non-matplotlib font. So matplotlib finds Arial > just fine. And it finds the mathtext font fine. Only the mixture is > fatal. It's as if the parser loses track of the Arial font, or it loo

[Matplotlib-users] full grid for 2nd y-axis wit twinx() ?

2013-06-13 Thread Daniel Mader
Hi, I need a twinx() plot with horizontal and vertical grid lines for the second axis, just like the usual grid for the first axis. I don't need or want to specify the ticks manually, though! My example code just produces horizontal lines: import pylab datax = pylab.arange(50) data1 = pylab.s

Re: [Matplotlib-users] full grid for 2nd y-axis wit twinx() ?

2013-06-13 Thread Daniel Mader
Hi Paul, I've modified your suggestion a little, since I don't want a grid for the primary axis at all -- unfortunately to no avail, i.e. no grid line at all: import numpy import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt datax = numpy.arange(50) data1 = numpy.sin(data

Re: [Matplotlib-users] full grid for 2nd y-axis wit twinx() ?

2013-06-14 Thread Daniel Mader
Hi Paul, thanks for your efforts, I've figured it out by myself by now, with you pieces of code: ax1.grid() ax2.grid() ax1.xaxis.grid(False) does the trick :) -- This SF.net email is sponsored by Windows: Build for Wind

Re: [Matplotlib-users] full grid for 2nd y-axis wit twinx() ?

2013-06-14 Thread Daniel Mader
ah, should have been: ax1.grid() ax2.grid() ax1.yaxis.grid(False) -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ M

Re: [Matplotlib-users] Mac backend problems for nearly all backends.

2010-05-26 Thread Daniel Welling
ue, May 25, 2010 at 10:51 PM, Daniel Welling wrote: > 2) In which case, it's not a framework install. Fink puts everything into > /sw/; there's nothing to do with pyton in /Library/Frameworks. > Thanks for the clarification; I'm tempted to get Python from source and try &g

[Matplotlib-users] displaying multiple images in series

2010-06-14 Thread Daniel Jones
ndidate, but it only seems to work if I've already used show() once in the script. It seems like there should be a simple way to do this, but I can't quite seem to find it. Thanks, Daniel -- ThinkGeek and WIRED'

Re: [Matplotlib-users] displaying multiple images in series

2010-06-20 Thread Daniel Jones
is it that the images are displayed on screen, inside the loop, *before* plt.show() is called? I would have expected only the very last image inside the loop to be displayed, using this program structure. So apparently there is something here I do not understand... -Daniel On Tue, Jun 15, 2010 at

[Matplotlib-users] pcolorfast and log axes.

2010-07-14 Thread Daniel Welling
Greetings. I've recently found that when I replace pcolor with pcolorfast, the image will not scale correctly when placed on an axis with a logarithmic scale. It will remain linear, thus not matching the axis range whatsoever. The pcolor plot will still fit nicely in the axis object, but the tic

[Matplotlib-users] Axes3D and tricontours.

2010-07-19 Thread Daniel Welling
Greetings, MPL Users. I have been experimenting with Axes3D with the hopes that I could create some 3d lines and then project some contours on different planes in the 3D axes object, much like the contour3d_demo3.py example (but with lines instead of the 3d wireframe.) The catch, however, is crea

[Matplotlib-users] Mapping fonts properly

2010-08-22 Thread Daniel Hyams
I don't know what problems I'll run into on other platforms (obviously, I would have get all_fontfiles above differently on each platform). If this is the only way to do it, I guess that's OK, but I thought that

Re: [Matplotlib-users] Mapping fonts properly

2010-08-23 Thread Daniel Hyams
time my app runs, in case new fonts have been installed since the last invocation? How do we keep that cache up to date? On Mon, Aug 23, 2010 at 10:12 AM, Michael Droettboom wrote: > On 08/22/2010 10:00 PM, Daniel Hyams wrote: > > I am searching for advice on how to handle selecting a

[Matplotlib-users] legend and bbox_to_anchor, and draggable()

2010-09-24 Thread Daniel Hyams
t to place the legend initially, and then let the user drag the legend around if the placement wasn't satisfactory. -- Daniel Hyams dhy...@gmail.com -- Start uncovering the many advantages of virtual appliances and star

[Matplotlib-users] bug: axes.hitlist() ?

2010-10-05 Thread Daniel Hyams
11) ax.plot([0,1,2,3]) def on_move(event): if event.inaxes: lst = ax.hitlist(event) print lst binding_id = connect('motion_notify_event', on_move) show() -- Daniel Hyams dhy...@gmail.com

[Matplotlib-users] basemap toolkit: project graphics file given in lon-lat

2010-10-15 Thread Daniel Fulger
globe. Could someone explain to me (a python newbie) what the sequence of steps/functions would have to be or which predefined methods are doing this. Regards Daniel -- Download new Adobe(R) Flash(R) Builder(TM) 4 The

Re: [Matplotlib-users] 3d plot without marker edge

2010-10-15 Thread Daniel Hyams
and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Daniel Hyams dhy...@gmail.com ---

Re: [Matplotlib-users] 3d plot without marker edge

2010-10-15 Thread Daniel Hyams
the property is removed. On Fri, Oct 15, 2010 at 10:32 AM, Daniel Hyams wrote: > Since you are talking about markers, I assume that you made the plot with > the scatter() function. > > The scatter() function creates the appropriate collection of patches > (polygon, circle, etc.)

Re: [Matplotlib-users] Marker types in 3d plots

2010-10-15 Thread Daniel Hyams
r(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > ___ > Matplotlib-users mailing

Re: [Matplotlib-users] [matplotlib-devel] Release schedule for version 1.0.1?

2010-10-25 Thread Daniel Hyams
Oops, yes! The spirit is willing but the (my) brain is weak. On Mon, Oct 25, 2010 at 5:13 PM, John Hunter wrote: > On Mon, Oct 25, 2010 at 4:09 PM, Daniel Hyams wrote: > > Right, I was referring specifically to MATPLOTLIBDIR ;) > > > > I was just pleased as punch to find

[Matplotlib-users] how to get the legend size?

2010-10-29 Thread Daniel Hyams
Going a little crosseyed here...how might I get the size of the legend in axes coordinates? Or any coordinates? -- Daniel Hyams dhy...@gmail.com -- Nokia and AT&T present the 2010 Calling All Innovators-North Ame

[Matplotlib-users] how to get legend size, try #2.

2010-10-29 Thread Daniel Hyams
t_frame().get_height(), but that just returns 1 all the time. Ascii art is fun! :) -- Daniel Hyams dhy...@gmail.com -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps &a

Re: [Matplotlib-users] how to get legend size, try #2.

2010-10-30 Thread Daniel Hyams
7;red')) pylab.show() It's close, but not there.so the question becomes, how do I place a legend exactly at the coordinates that I want? On Sat, Oct 30, 2010 at 1:16 AM, Paul Ivanov wrote: > Daniel Hyams, on 2010-10-29 23:48,  wrote: >> Thanks Paul!  Your suggestion got

[Matplotlib-users] my duel with the legend is over. I won. :)

2010-10-30 Thread Daniel Hyams
ist with something so trivial. I had a major "can't see the forest through the trees" moment. -- Daniel Hyams dhy...@gmail.com -- Nokia and AT&T present the 2010 Calling All Innovators-North America c

[Matplotlib-users] Two sets of ticks on a colorbar?

2010-11-12 Thread Daniel Welling
Greetings. I am making some contour plots and in my field for this particular value, there are two widely used units. As such, it is very useful to have both units listed on the colorbar. To clarify: the colorbar's normal ticks would be facing to the right and labeled with Unit Type 1, which was

[Matplotlib-users] Two sets of ticks on a single colorbar?

2010-11-15 Thread Daniel Welling
Greetings. I am making some contour plots and in my field for this particular value, there are two widely used units. As such, it is very useful to have both units listed on the colorbar. To clarify: the colorbar's normal ticks would be facing to the right and labeled with Unit Type 1, which was

[Matplotlib-users] callbacks / custom nav toolbar

2010-11-21 Thread Daniel Hyams
nections, I did make sure that I'm saving a reference to them myself. -- Daniel Hyams dhy...@gmail.com -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMA

[Matplotlib-users] small bugfix in font_manager.py

2010-11-24 Thread Daniel Hyams
pass if fontManager: default_size = fontManager.get_default_size() else: default_size = rcParams['font.size'] return default_size * font_scalings.get(self._size) -- Daniel Hyams dhy...@gmail.com ---

Re: [Matplotlib-users] small bugfix in font_manager.py

2010-11-29 Thread Daniel Hyams
y still be code paths that > aren't coded correctly for that option. > > Mike > > On 11/25/2010 10:34 AM, Benjamin Root wrote: > > On Wednesday, November 24, 2010, Daniel Hyams wrote: > >> MPL 1.0.0, OSX > >> If USE_FONTCONFIG is turned on, the function >

  1   2   3   >