Re: [Matplotlib-users] Corr plot in subplot

2015-03-13 Thread Adam Hughes
All the pandas plots that I've used take an axes keyword so try: c = corrplot.Corrplot(df, ax=ax1) or c = corrplot.Corrplot(df, axes=ax1) Do either of those work? On Fri, Mar 13, 2015 at 2:04 PM, Paul Hobson wrote: > What's the function signature of corrplot.CorrPlot? Hopefully you can pass

Re: [Matplotlib-users] Lorenz - solution

2015-03-10 Thread Adam Hughes
That's pretty swag! On Tue, Mar 10, 2015 at 11:49 AM, Benjamin Root wrote: > +1000!! > > Great job! Would you mind if I clean it up a bit and add it to the > mplot3d/animation gallery? Full credit, of course. > > > On Tue, Mar 10, 2015 at 11:30 AM, Prahas David Nafissian < > prahas.mu...@gmail.c

Re: [Matplotlib-users] axes3d.get_test_data; where else is test data?

2014-11-10 Thread Adam Hughes
Thanks! On Nov 7, 2014 3:39 PM, "Thomas Caswell" wrote: > Take a look at matplotlib.cbook.get_sample_data. > > That said, I don't think an _axes_ object should have such a function and > axes3d.get_test_data() should be removed. > > Tom > > On Thu Nov 06 2

Re: [Matplotlib-users] Defaults?

2014-11-07 Thread Adam Hughes
I use a config file in ipython notebooks that sets some parameters of the ipython notebook and then sets the matplotlib defaults. http://nbviewer.ipython.org/github/hugadams/pyuvvis/blob/master/examples/Notebooks/NBCONFIG.ipynb Then I use in all subsequent analysis in the ipython notebook: http:

[Matplotlib-users] axes3d.get_test_data; where else is test data?

2014-11-06 Thread Adam Hughes
Hi, I recently noticed the method: axes3d.get_test_data() I was curious if other test/sample data is available somewhere in matplotlib, for demo purposes? Or if this is the only sample dataset in the library? Not just for 3dplots but for any plot type... Sorry if I'm overlooking the obvio

Re: [Matplotlib-users] 2 overlaid plots with grid??

2014-10-21 Thread Adam Hughes
I wrote a program that draws grids manually on mpl plots a while back. If you can't find a solution can you write back here and I'll try to get that dusted off? On Oct 21, 2014 2:39 PM, "Benjamin Root" wrote: > Well, the first part is easy... it is called twinx(). If you look up axis > twinning

Re: [Matplotlib-users] Diplaying 2D images in mplot3d

2014-10-01 Thread Adam Hughes
Instead of learning VTK, you may find it easier to start with Mayavi 2 (written on VTK). On Wed, Oct 1, 2014 at 2:27 PM, Fabrice C. wrote: > Dear Ben, > > Thank you for the explanation. Too bad mplot3d cannot display textured > polygons. > I did have a look at glumpy and it does part of what I

Re: [Matplotlib-users] Wireframe colored mesh

2014-09-24 Thread Adam Hughes
https://github.com/matplotlib/matplotlib/issues/3562 On Wed, Sep 24, 2014 at 6:17 PM, Adam Hughes wrote: > Agreed. I will do so, thanks. If you are able to figure it out, I would > be super grateful. I must have spend 5 hours beating my head over this... > > I'll fill it ou

Re: [Matplotlib-users] Wireframe colored mesh

2014-09-24 Thread Adam Hughes
end a free moment on it. > > Ben Root > > On Wed, Sep 24, 2014 at 8:43 PM, Adam Hughes > wrote: > >> Hi, >> >> I'm following up on an answered stack overflow thread: >> >> >> http://stackoverflow.com/questions/24909256/how-to-obtain-

Re: [Matplotlib-users] Getting the projection of an axis

2014-09-24 Thread Adam Hughes
x27;3d')) > >>> ax.name > '3d' > > > You can do this with any axes type, such as polar axes and such. > > Cheers! > Ben Root > > > On Tue, Sep 23, 2014 at 3:26 PM, Adam Hughes > wrote: > >> Hello, >> >> Is it possibl

[Matplotlib-users] Wireframe colored mesh

2014-09-24 Thread Adam Hughes
Hi, I'm following up on an answered stack overflow thread: http://stackoverflow.com/questions/24909256/how-to-obtain-3d-colored-surface-via-python/26026556#26026556 They show how to create a colormap for a wireframe plot. I noticed that this solution fails when the X and Y data are not the same

[Matplotlib-users] Transferring an Axes Subplot to a projection on a 3d plot

2014-09-24 Thread Adam Hughes
Hi, Sorry for all of these left-field questions. We are trying to develop some custom functionality for a spectroscopy program... Given a 3d surface plot, matplotlib makes it easy to add contours along the projections of the plot. http://matplotlib.org/1.3.1/mpl_toolkits/mplot3d/tutorial.html#d

[Matplotlib-users] Getting the projection of an axis

2014-09-23 Thread Adam Hughes
Hello, Is it possible to inspect an AxesSubplot object and infer if it is using a 3d projection or not? Couldn't figure it out directly from the API. Thanks -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analy

Re: [Matplotlib-users] Wireframe with no cstrides?

2014-09-22 Thread Adam Hughes
gs were fixed for v1.4.0, but there were > a few additional bugs that are going into the upcoming v1.4.1 release. > > Cheers! > Ben Root > > On Mon, Sep 22, 2014 at 12:29 PM, Adam Hughes > wrote: > >> Thanks benjamin. Not sure how I overlooked this! >> >> Y

Re: [Matplotlib-users] Wireframe with no cstrides?

2014-09-22 Thread Adam Hughes
, Benjamin Root wrote: > I think you can just set the linewidth to zero like in these examples: > > http://matplotlib.org/examples/mplot3d/surface3d_demo.html > http://matplotlib.org/examples/mplot3d/surface3d_demo3.html > > Cheers! > Ben Root > > On Sat, Sep 20, 2014 at 7:4

Re: [Matplotlib-users] Wireframe with no cstrides?

2014-09-20 Thread Adam Hughes
On Sat, Sep 20, 2014 at 7:31 PM, Adam Hughes wrote: > Hi, > > I was using wireframe to plot my spectroscopy data, and noticed if I > choose a large R-stride, I somewhat unexpectedly get this really helpful > evenly spaced spectral plot (attached). > > The only issue is that

Re: [Matplotlib-users] removing a plot from an axes

2014-04-18 Thread Adam Hughes
This will clear the figure: plt.clf() Is this what you're looking for, or just to pop one plot form the stack? On Fri, Apr 18, 2014 at 6:21 PM, Michael Mossey wrote: > Sorry for what is a beginnerish question but I'm having a hard time using > the docs. I want to remove a previous plot from a

Re: [Matplotlib-users] Variable size markers legend formatting

2014-04-11 Thread Adam Hughes
Hi Paul, I tried out the legend proxy artist, and it works for rectangles in the legend, but I can't seem to get a Circle to appear in the legend, which I presume should be: p = Circle((0, 0), fc="r") legend([p], ["Red Rectangle"]) On Wed, Apr 9, 2014 at 2:20 PM, Adam

Re: [Matplotlib-users] Variable size markers legend formatting

2014-04-09 Thread Adam Hughes
Thanks Paul, I will try it out. On Wed, Apr 9, 2014 at 12:21 PM, Paul Hobson wrote: > > > > On Wed, Apr 9, 2014 at 9:00 AM, Adam Hughes wrote: > >> Thanks. That's probably the way I'll go. At first, I thought creating >> separate legend markers and rem

Re: [Matplotlib-users] Variable size markers legend formatting

2014-04-09 Thread Adam Hughes
keyword to legend to handle this situation? On Wed, Apr 9, 2014 at 1:44 AM, Sterling Smith wrote: > Adam, > > I haven't investigated, but does the discussion of the legend marker at > [1] help? > > -Sterling > > [1] > https://www.mail-archive.com/matplotlib-users@li

[Matplotlib-users] Variable size markers legend formatting

2014-04-08 Thread Adam Hughes
Hello, I've been searching but can't seem to find this topic addressed (perhaps wrong search terms) Simply put, I have a scatter plot with variable size markers, and I'd like to have the markers all be a single size in the legend. Is there a standard way to do this? Thanks.

[Matplotlib-users] Changing figure background color (through rcparams?)

2014-03-20 Thread Adam Hughes
Hi, I am using an IPython notebook style that has a soft, yellow background that I think is more appealing that white. When I make a plot, I'd like the background of the plot (ie, everything that is outside the x and y axis) to be the same color. I'm trying to change the figure.facecolor paramet

Re: [Matplotlib-users] Access to color cycle?

2014-03-05 Thread Adam Hughes
at 3:07 PM, Andreas Hilboll wrote: > On 05.03.2014 20:56, Adam Hughes wrote:> Hi, > > > > I am making a stacked histogram where one must enter the desired colors > > together in a list/array when the histogram is called. For certain > > objects in my code, it's

Re: [Matplotlib-users] Access to color cycle?

2014-03-05 Thread Adam Hughes
t.append(c) c = axfoo._get_lines.color_cycle.next() # Reset colorcycle for i in range(len(clist) -1): axfoo._get_lines.color_cycle.next() return clist On Wed, Mar 5, 2014 at 2:56 PM, Adam Hughes wrote: > Hi, > > I am making a stacked histogram where one mus

[Matplotlib-users] Access to color cycle?

2014-03-05 Thread Adam Hughes
Hi, I am making a stacked histogram where one must enter the desired colors together in a list/array when the histogram is called. For certain objects in my code, it's helpful to assign a color to them, so that they are immediately identified across various plots. Therefore, I essentially want t

Re: [Matplotlib-users] Not rendering integral/sum when using latex = True

2014-02-28 Thread Adam Hughes
Sorry, it seems that I didn't have dvipng installed correctly! On Fri, Feb 28, 2014 at 2:53 PM, Adam Hughes wrote: > Hi, > > In an IPython notebook, I've changed several setting in both the > notebook's style and the plotting style. I noticed that when I change

[Matplotlib-users] Not rendering integral/sum when using latex = True

2014-02-28 Thread Adam Hughes
Hi, In an IPython notebook, I've changed several setting in both the notebook's style and the plotting style. I noticed that when I change the usetex option in the rcparams: *rcParams['text.usetex'] = True * Then I add an integral sign as text to a plot (either title or axis label) *plt.title(

Re: [Matplotlib-users] colorbllind problem

2014-02-17 Thread Adam Hughes
I'm wondering if the matplotlib API is designed in such a way that choosing a color schema could be done at import time. I know that the entire plot style can be changed in one call (eg put plt.xkcd() at the beginning of your code), so I wander if colorblind-compatible colors could be loaded in a

Re: [Matplotlib-users] Most generic way to wrap collections

2014-01-07 Thread Adam Hughes
arty" and I'll share it pretty soon with the scikit image mailing list. If I am able to get the patches built it, would anyone mind if I share it with the matplotlib list as well? Thanks On Tue, Jan 7, 2014 at 4:10 PM, Joe Kington wrote: > > > > On Tue, Jan 7, 2014 at 2:29

Re: [Matplotlib-users] Most generic way to wrap collections

2014-01-07 Thread Adam Hughes
keep the geometry (ie line --> mpatch.Line) unless anyone has any better suggestions. Thanks! On Tue, Jan 7, 2014 at 3:08 PM, Adam Hughes wrote: > Hi, > > I am working on a library for image analysis which stores particles as > indexed numpy arrays and provides functional

[Matplotlib-users] Most generic way to wrap collections

2014-01-07 Thread Adam Hughes
Hi, I am working on a library for image analysis which stores particles as indexed numpy arrays and provides functionality for managing the particles beyond merely image masking or altering the arrays directly. I've already designed classes for many common shapes including Lines/Curves, Circles/E

Re: [Matplotlib-users] installing basemap on osx 10.6

2012-12-30 Thread Adam Mercer
OperationException.h /opt/local/include/geos/util/math.h /opt/local/include/geos/version.h /opt/local/include/geos_c.h $ Cheers Adam -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Window

Re: [Matplotlib-users] Lots of failing tests raising KnownFailureTest

2012-11-19 Thread Adam Mercer
No, all tests pass (or fail when they are expected to). > "KnownFailure" is not a "default" nosetest packages. Hence, we have to load > it manually when running the tests. Thanks, makes sense. Cheers Adam

[Matplotlib-users] Lots of failing tests raising KnownFailureTest

2012-11-18 Thread Adam Mercer
ests should fail quietly. Shouldn't they? Cheers Adam PS: I'm using python-2.7.3, nose-1.2.1 on Mac OS X 10.8.2 compiled from MacPorts. -- Monitor your physical, virtual and cloud infrastructure from a single we

Re: [Matplotlib-users] Missing bar when last value is 0

2012-09-19 Thread Adam Davis
Yes, that works. Many thanks. On Thu, Sep 20, 2012 at 1:12 AM, Benjamin Root wrote: > > > On Wednesday, September 19, 2012, Adam Davis wrote: > >> If I do: >> >> bar(range(3), [1,0,2]) >> >> ... then I get 2 bars of a suitable width for a 3 bar

[Matplotlib-users] Offsetting tick labels

2012-09-19 Thread Adam Davis
I am trying to get alternating tick labels to move completely above and completely below the x axis. If I call: set_ha('top') ... then the number appears fully below the x axis. However, when I call: set_ha('bottom') ... then the number appears roughly vertically centered on the axis.

[Matplotlib-users] Missing bar when last value is 0

2012-09-19 Thread Adam Davis
If I do: bar(range(3), [1,0,2]) ... then I get 2 bars of a suitable width for a 3 bar chart, with a gap in between where the middle bar would be if not equal to 0. Yet if I do: bar(range(3), [1,2,0]) ... then I get two bars of equal width. Is there a way to preserve the space for the mi

Re: [Matplotlib-users] Legend and proxy artists

2011-10-27 Thread Adam Mercer
> maybe someone with more knowledge could explain what changed to not allow > your code to work now (it may be related to > https://github.com/matplotlib/matplotlib/pull/534). It worked without issue with matplotlib-1.0.1. Cheers Adam

Re: [Matplotlib-users] Legend and proxy artists

2011-10-27 Thread Adam Mercer
ally following you, do you mean something like the following: # legend date_axes.legend(([morning_plot], [evening_plot], [value_plot[0]]), ("Morning", "Evening", "Value"), numpoints=1, loc=0, borderpad=1, shadow=True, fanc

[Matplotlib-users] Legend and proxy artists

2011-10-27 Thread Adam Mercer
morning_plot], [evening_plot], [value_plot]), ("Morning", "Evening", "Value"), numpoints=1, loc=0, borderpad=1, shadow=True, fancybox=True) # save plot fig.savefig(plot_file) Cheers Adam ---

[Matplotlib-users] Axes frame lineweights

2011-09-08 Thread Adam Davis
Is there a way to reduce the lineweight of the axes frame edge? Alternatively, is there a way to hide the edge of the frame without turning the frame off? Thanks, Adam -- Why Cloud-Based Security and Archiving Make

Re: [Matplotlib-users] Using imshow() and plot() in the same figure

2011-09-04 Thread Adam Davis
(and without disrupting imshow)? - have subplots within subplots so that I can have the plot() calls in one set of axes within a subplot (using sharex/y) and the imshow() calls in another subplot? -Adam On Sun, Sep 4, 2011 at 10:34 PM, Eric Firing wrote: > On 09/04/2011 11:12 AM, Adam Da

[Matplotlib-users] Using imshow() and plot() in the same figure

2011-09-04 Thread Adam Davis
images disappear. Is there a way to both plot and display images in the same figure? -Adam -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price

[Matplotlib-users] Version 1.0.0 still listed on homepage

2011-04-17 Thread Adam Mercer
Hi On the homepage, http://matplotlib.sourceforge.net, matplotlib-1.0.0 is still being listed as the latest available version in the News sidebar. Is there any reason why 1.0.1 is not listed here? Cheers Adam

Re: [Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Adam Mercer
t; 1-d array rather than your expected 2d array. > > You can mitigate this by using np.atleast_2d() on the returned array.  This > will guarantee that your 'morning' array will always be 2d. > > I hope that h

[Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Adam Mercer
in morning_plot = date_axes.plot_date(morning[:,0], morning[:,1], 'ro-', ms=4) IndexError: invalid index Is there a way that I can plot these files regardless of whether they contain multiple or single lines? Cheers Adam

[Matplotlib-users] Cygwin Install

2010-08-27 Thread Adam Gustafson
I found a web page in which someone has done the horrible task of figuring out how the hell you compile in Cygwin. Details below: http://innuendopoly.org/arch/matplotlib-cygwin In short, the Cygwin compile runs into TONS of errors as is, and it seems the matplotlib developers aren't really suppo

Re: [Matplotlib-users] Cygwin and matplotlib

2010-08-16 Thread Adam Gustafson
> Matplotlib works well with Cygwin (I am using it with the gtkcairo > backend), but installing it can be a hassle. You'll have to fix errors such > as the ones you're seeing by modifying setup.py or setupext.py. > --Michiel. > > --- On *Mon, 8/16/10, Adam Gustafso

[Matplotlib-users] Cygwin and matplotlib

2010-08-16 Thread Adam Gustafson
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames Traceback (most recent call last): File "setup.py", line 162, in if check_for_tk() or (options['build_tkagg'] is True): File "/home/Adam/installs/matplotlib-1.0.0/setupext.py", line 816, in che

[Matplotlib-users] cygwin compile?

2010-08-10 Thread Adam Gustafson
NAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of * '/usr/include', '.' Traceback (most recent call last): File "setup.py", line 162, in

[Matplotlib-users] matplotlib.test() no errors, but $nosetest matplotlib.tests -> errors and failure?

2010-07-24 Thread Adam
90.991s OK (KNOWNFAIL=2) $nosetests matplotlib.tests I get: [...snipped output] Ran 144 tests in 380.165s FAILED (errors=4, failures=1) Two of these errors are the known failures from above, and the other two are in "matplotlib.tests.test_text.test_font_styles": ImageComparisonFailure: images n

Re: [Matplotlib-users] Mac OS X 10.6 dmg install (Tim Gray)

2010-06-24 Thread Adam J Richards
matplotlib-0.99.3.tar.gz $ cd matplotlib-0.99.3 $ sudo /usr/local/bin/python setup.py build $ sudo /usr/local/bin/python setup.py install_* *_ Hopefully this helps. -Adam Richards Duke University -- ThinkGeek and WIRED&#

Re: [Matplotlib-users] Is there a way to link axes of imshow plots?

2010-06-01 Thread Adam Fraser
Hi all, I updated to version 99.1.1 and I'm still getting the error "ValueError: argument must be "box", or "datalim" at set_adjustable..." from axes.py when I try to do ax.set_adjustable("box-forced") as you suggested. -Adam On Thu, May 27,

Re: [Matplotlib-users] Is there a way to link axes of imshow plots?

2010-05-27 Thread Adam Fraser
gt; > > http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.axes > > > > > http://matplotlib.sourceforge.net/examples/pylab_examples/shared_axis_demo.html > > > > -paul > > > > > > > > From: Adam Fraser [mailto:adam.n.fra...@gmail.com] >

[Matplotlib-users] Is there a way to link axes of imshow plots?

2010-05-27 Thread Adam Fraser
nning, but zooming caused all subplots to zoom from the same global point, rather than from the same point in each of their respective axes. Can anyone suggest a workaround? Much thanks! -Adam from matplotlib.backends.backend_wxagg import NavigationToolbar2WxAgg as NavigationToolbar class My

[Matplotlib-users] Draggable matplotlib legend

2010-01-28 Thread Adam Fraser
I thought I'd share a solution to the draggable legend problem since it took me forever to assimilate all the scattered knowledge on the mailing lists... class DraggableLegend: def __init__(self, legend): self.legend = legend self.gotLegend = False legend.figure.canvas.

[Matplotlib-users] tk_agg plotting error when using legend()

2009-09-17 Thread Adam Ginsburg
--') vlines(3e10/5000e-8,1e6,2e10,linestyle='--') xlabel(r'$\nu = c / \lambda$') ylabel(r'$\nu B_\nu = \lambda B_\lambda$') legend(loc='best') lamlow = 5000e-8 lamhi = 6000e-8 nulow = 3e10/lamhi nuhi = 3e10/lamlow whnu = (mynunulow) whlam = (mylamlamlow) int

Re: [Matplotlib-users] ipython threading fails with macosx backend

2009-07-02 Thread Adam
rent/lib/python2.6/site-packages/matplotlib/mpl-data loaded rc file /Users/adam/.matplotlib/matplotlibrc matplotlib version 0.98.5.3 verbose.level helpful interactive is True units is True platform is darwin $HOME=/Users/adam CONFIGDIR=/Users/adam/.matplotlib Using fontManager instance from /Users/adam

Re: [Matplotlib-users] subplots with no space between limited to 6x6?

2009-06-29 Thread Adam
Thanks Jae-Joon, that worked. Adam On Mon, Jun 29, 2009 at 9:03 AM, Jae-Joon Lee wrote: > Yes, I can reproduce this with the current svn. > > I think what's happening is that, with larger number of grid,  there > is slight overlapping between each subplots (likely due to the

Re: [Matplotlib-users] ANN: matplotlib-0.98.5.3

2009-05-22 Thread Adam Mercer
his package" with each release, but I can't find the link > right now). Just in case I miss the release, MacPorts will alert me to a new release being available. I suppose just me be lazy. Cheers Adam -- R

Re: [Matplotlib-users] ANN: matplotlib-0.98.5.3

2009-05-22 Thread Adam Mercer
/matplotlib-([0-9]+(?:\.[0-9]+)*)\.tar\.gz That directory isn't listable, so won't work with the MacPorts version check infrastructure. Cheers Adam -- Register Now for Creativity and Technology (CaT), June 3rd

Re: [Matplotlib-users] ANN: matplotlib-0.98.5.3

2009-05-21 Thread Adam Mercer
ke. Also as the 0.98.5.3 release is not a specific release but a sub release of 0.98.5 I can't use the sourceforge downloads page to query this. It would be really helpful if a page was provided that listed the latest stable release that packagers c

Re: [Matplotlib-users] ANN: matplotlib-0.98.5.3

2009-05-18 Thread Adam Mercer
s 0.98.6svn, can this be corrected? Cheers Adam -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine

Re: [Matplotlib-users] Interactive backends very (suprisingly?) slow for multiple subplots

2009-04-29 Thread Adam
On Wed, Apr 29, 2009 at 9:22 AM, John Hunter wrote: > > > On Wed, Apr 29, 2009 at 9:50 AM, Adam wrote: >> >> I would like to have access to the command line while simultaneously >> being able to interact with and/or display plots.  I think this is >> what ipython

Re: [Matplotlib-users] Interactive backends very (suprisingly?) slow for multiple subplots

2009-04-29 Thread Adam
keyword (-pylab, -qt4thread, etc.). I had some trouble getting ipython to work correctly, but I think that had to do with passing the thread keyword before/after some other keywords. Part of my question that I hope makes sense: Is ther

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-04-25 Thread Adam Ginsburg
A 1x1 array reproduces the error: milkyway /data/glimpseii $ gdb /usr/local/python/bin/python GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or d

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-04-25 Thread Adam Ginsburg
ile or directory.     in src/image.cpp Current language:  auto; currently c++ (gdb) I've never used gdb before, so is there anything else I should be doing at this point? Thanks, Adam On Fri, Apr 24, 2009 at 7:52 AM, Michael Droettboom wrote: > > On my machine (32-bit Fedora 10 wi

[Matplotlib-users] Segmentation fault using imshow on large image

2009-04-23 Thread Adam Ginsburg
fits,numpy,scipy In [2]: scipy.__version__ Out[2]: '0.7.0' In [3]: numpy.__version__ Out[3]: '1.3.0' In [4]: matplotlib.__version__ Out[4]: '0.98.5.2' In [5]: f = pyfits.open('GLM_00600+_mosaic_I3.fits') In [6]: f[0].data.shape Out[6]:

Re: [Matplotlib-users] Scatter plots, pdf and rasterization (Tiago Pereira)

2009-04-02 Thread Adam J Richards
, *.png etc). Then you may use a program like Inkscape to open the file, where you can then save a copy of it as a pdf. This process produces publication quality plots. The plot detail can then be improved by simply increasing the figure dpi when it is initially saved using Matplotlib. Adam On

Re: [Matplotlib-users] Python 2.6 installer for Windows?

2009-02-23 Thread Adam Mercer
packages. It will help a lot if the 2.6 installer is available. AFAIK matplolib doesn't support python-2.6 yet, as NumPy doesn't. NumPy is expected to get python-2.6 support in the 1.3 release, so I imagine matplotlib will support python-2.6 in a release following the NumPy-1.3

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-21 Thread Adam Mercer
should be fairly clear across the UIs we have > examples for. Thanks, I'll pass that onto the user who reported this problem to me. Cheers Adam -- This SF.net email is sponsored by: SourcForge Community Source

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-21 Thread Adam Mercer
Anyone? Cheers Adam On Sat, Jan 17, 2009 at 17:19, Adam Mercer wrote: > Hi > > I'm trying to track down an issue with the CocoaAgg backend on Mac OS > X using MacPorts, when run with the CocoaAgg backend the following > code: > > from pylab import * > imp

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-17 Thread Adam Mercer
On Sat, Jan 17, 2009 at 17:19, Adam Mercer wrote: > Hi > > I'm trying to track down an issue with the CocoaAgg backend on Mac OS > X using MacPorts, when run with the CocoaAgg backend the following > code: Sorry, should have mentioned that this is with Matplotlib-0.98.5.2 us

[Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-17 Thread Adam Mercer
FigureCanvasBase' is not defined However this runs without issue using the MacOSX backend: $ python temp.py -dMacOSX FPS: 20.1183278689 Is there some missing dependency that could cause this? Cheers Adam -- This SF.net em

Re: [Matplotlib-users] Backtrace when including a legend with 0.98.5.1

2008-12-26 Thread Adam Mercer
On Fri, Dec 26, 2008 at 13:54, John Hunter wrote: > Could you please post a complete, free-standing example? Also, you > might want to test against 98.5.2 which has been released with some > legend fixes. Thanks John, updating to 0.98.5.2 fixes the problem. Che

[Matplotlib-users] Backtrace when including a legend with 0.98.5.1

2008-12-26 Thread Adam Mercer
as if I remove the code that sets the legend: x_axes.legend(([x1_plot], [x1_plot]), ("Duration", "Amount"), numpoints=1, loc=0, borderpad=2, shadow=True) then the plot is produced as expected. Is this a regression, or am I doing something odd with the legend? Cheers Adam --

[Matplotlib-users] using ginput with images -- axes are resized?

2008-10-31 Thread Adam
50,50) imshow(t) x = ginput(1) #--- this problem was also addressed in a post back in august: http://www.nabble.com/ginput-changes-axes-limits-td18863282.html#a18863282 but it received no replies. any ideas on whats going on? thanks,

Re: [Matplotlib-users] Event handling, API programming

2008-10-30 Thread Adam
On Wed, Oct 29, 2008 at 11:19 PM, Anthony Floyd <[EMAIL PROTECTED]> wrote: > Hi Adam, > > On Sun, Oct 26, 2008 at 4:34 PM, Adam <[EMAIL PROTECTED]> wrote: >> Hi, I'm trying to make myself a set of widgets for the first time. >> I've gotten to the poi

[Matplotlib-users] Event handling, API programming

2008-10-26 Thread Adam
y: http://www.nabble.com/some-API-documentation-td16204232.html. Second question: I have two subplots of different data with the same dimensions. I'd like to zoom in to the same region on both figures when I use zoom-to-box on either one. How can I do this? (I&

Re: [Matplotlib-users] subplots_adjust -- what am I doing wrong?

2008-09-10 Thread Adam
JJ, Thank you for sharing this. Although I have to admit I'm a bit surprised by what it takes to accomplish this, I think I will be able to use your class to do what I need to do, or at least get a lot of the way there. Cheers, -adam. On Tue, Sep 9, 2008 at 5:34 PM, Jae-Joon Lee &l

Re: [Matplotlib-users] subplots_adjust -- what am I doing wrong?

2008-09-09 Thread Adam
ab.imshow(data, aspect='auto') This gets rid of the blank space, but at the expense of the aspect ratio, as you mention. Isn't there away to preserve the aspect ratios of the individual sub-images, and just remove the white space between them? I really to not want to mes

[Matplotlib-users] subplots_adjust -- what am I doing wrong?

2008-09-09 Thread Adam
between, as the above code is not working. Thank you for the help! -adam. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win gre

Re: [Matplotlib-users] MatPlotLib won't plot

2008-08-10 Thread Adam Getchell
bit Vista/Windows 2008 (if there ever is one) should include this file (or check for it)? Thanks again for the help! > - Charlie Adam -- "Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu -

[Matplotlib-users] MatPlotLib won't plot

2008-08-09 Thread Adam Getchell
me know if I should be reporting anything else not listed on: http://matplotlib.sourceforge.net/faq.html Thanks! Adam -- "Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu - This SF.Net emai

Re: [Matplotlib-users] "ValueError: oridinal must be >= 1" with 0.98.1 - non with 0.98.0

2008-06-30 Thread Adam Mercer
On Wed, Jun 25, 2008 at 8:44 AM, John Hunter <[EMAIL PROTECTED]> wrote: > I think I have this fixed in svn Just downloaded 0.98.2 and the code that failed in 0.98.1 works! Thanks! Cheers Adam - Check ou

[Matplotlib-users] 0.98.2 release?

2008-06-30 Thread Adam Mercer
Hi Has matplotlib-0.98.2 been officially released? The reason I'm asking is that the web page still states that 0.98.1 is the release and the 0.98.2 tar ball is under the 0.98.1 release on the sourceforge download page? Cheers

Re: [Matplotlib-users] Linking non framework Tcl/Tk on Mac OS X

2008-06-27 Thread Adam Mercer
On Fri, Jun 27, 2008 at 12:03 PM, Charlie Moad <[EMAIL PROTECTED]> wrote: > You'll need to edit setupext.py to not inject the "-framework Tcl -framework > Tk" flags. > Thanks Charlie, that

[Matplotlib-users] Linking non framework Tcl/Tk on Mac OS X

2008-06-26 Thread Adam Mercer
er present, but header files are not found. * You may need to install development packages. The header files are installed. Can Matplotlib be linked against a non-framework build of Tcl/Tk on Mac OS X, and if so how

Re: [Matplotlib-users] "ValueError: oridinal must be >= 1" with 0.98.1 - non with 0.98.0

2008-06-25 Thread Adam Mercer
) > line2, = ax2.plot(r2.date, r2.value, 'bo-') > > # set up axes > ax1.xaxis.set_major_locator(mdates.DayLocator(range(0, 31, 2))) > ax1.xaxis.set_minor_locator(mdates.DayLocator(range(0, 31, 1))) > ax1.xaxis.set_major_formatter(mdates.DateFormatter('%Y/%

Re: [Matplotlib-users] tick_left() and tick_right() with minor tick marks

2008-06-25 Thread Adam Mercer
yaxis minor ticks on left only, right yaxis minor ticks on > # right only Thanks Darren, that solves it. I was calling tick_left() and tick_right() before calling set_{major,minor}_locator(). Moving these calls to after the t

Re: [Matplotlib-users] "ValueError: oridinal must be >= 1" with 0.98.1 - non with 0.98.0

2008-06-24 Thread Adam Mercer
though the reported error (when plotting both data sets) seems to have nothing to do with the second data set. Cheers Adam #!/usr/bin/env python # import required system modules import sys import math from datetime import * # import required matplotlib modules import matplotlib # set backe

[Matplotlib-users] "ValueError: oridinal must be >= 1" with 0.98.1 - non with 0.98.0

2008-06-23 Thread Adam Mercer
tlib/dates.py", line 233, in num2date if not cbook.iterable(x): return _from_ordinalf(x, tz) File "/opt/local/lib/python2.5/site-packages/matplotlib/dates.py", line 156, in _from_ordinalf dt = datetime.dat

Re: [Matplotlib-users] tick_left() and tick_right() with minor tick marks

2008-06-23 Thread Adam Mercer
Hi Anyone know how to fix this problem? Cheers Adam On Thu, Jun 19, 2008 at 8:31 PM, Adam Mercer <[EMAIL PROTECTED]> wrote: > Hi > > I have a plot that has two different y-axis scales and I want > appropriate tick marks for the different y-axes. ie I want the tick > mark

[Matplotlib-users] tick_left() and tick_right() with minor tick marks

2008-06-19 Thread Adam Mercer
(pylab.MultipleLocator(5)) axes2.yaxis.set_minor_locator(pylab.MultipleLocator(1)) but the minor ticks are on both the left and right y-axes. How can I make the minor ticks for axes1 only appear on the the left and the minor ticks for axes2 appear on the right? Cheers Adam

Re: [Matplotlib-users] Producing a plot that contains two different y-axis scales

2008-06-19 Thread Adam Mercer
was after. I must of overlooked that. Cheers Adam - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.n

[Matplotlib-users] Producing a plot that contains two different y-axis scales

2008-06-19 Thread Adam Mercer
een unable to find an example. Can anyone point me to and example or the appropriate methods that would allow me to do this? Cheers Adam - Check out the new SourceForge.net Marketplace. It's the best place to buy or se

Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-09 Thread Adam Mercer
On Thu, Jun 5, 2008 at 8:50 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On the svn trunk (0.98) there is a > bug in the apple gcc compiler with our agg extension that causes a > compiler error if the optimization level is -O3. Has this been reported to Apple

[Matplotlib-users] Returning contour points as an array

2008-03-03 Thread Adam Ginsburg
there any easier way to do the above? Is this actually the easy method? Thanks, Adam - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012

Re: [Matplotlib-users] GEOS 3 and basemap

2008-03-03 Thread Adam Mercer
On Sun, Dec 23, 2007 at 2:40 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > > Will basemap work with the newly released GEOS-3.0.0, or does it only > > work with 2.2.3 for now? > > Adam: It only works with 2.2.3. I have not been able to make it work > with 3.0.0,

Re: [Matplotlib-users] GEOS 3 and basemap

2007-12-23 Thread Adam Mercer
On Dec 23, 2007 7:40 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Adam: It only works with 2.2.3. I have not been able to make it work > with 3.0.0, so I don't know if it ever will. Thanks for the clarification J

  1   2   >