[Matplotlib-users] Blog post on animations using matplotlib

2020-05-25 Thread Tejas Sanap
Hey, folks! I'm writing a blog series on how to make animations using `matplotlib`. It will be a three part series. I have just published the first part in the series on my blog. Here is the link: http://whereistejas.me/ The first part covers the difference between the object-oriented and

[Matplotlib-users] two axes on top of one another with one rotated

2018-04-28 Thread Ryan Krauss
​Sorry if this ultimately goes through more than once. I am having some issues with submitting it I need to teach coordinate systems and transformations to a college robotics class. I have used Tikz in the past to generate some graphics, but I want to switch to doing everything in

[Matplotlib-users] Creating "3D wireframe" plots

2017-12-02 Thread Burak ÜSTÜNDAĞ
Hello, I am a beginner at Python (3.6) and using it for my PhD work. My question is about creating 3D wireframe plot to visualize a meshed sphere. I have 3 seperate 1D arrays which represent coordinates of nodes on the meshed surface. (X-coordinates, Y-coordinates and Z-coordinates) These

[Matplotlib-users] Matplotlib live plot MatplotlibDeprecationWarning: Using default event loop

2017-10-26 Thread Gittelman, Max
Hello, I'm working to create a live plot by taking in data via a server and then plotting in a 3d scatterplot. I have a well thought out explanation (took a couple hours to produce) that I posted a few minutes ago on stack overflow.

[Matplotlib-users] 1D heat map

2017-10-01 Thread Deepa Maheshvare
Hi All, I would like to plot a 1D heat map for a set of numbers present in a list. Here is my data A B C D E F G H I -0.02073 0.062098 -0.75256 0.000121 6.87E-17 0.430649 0.10735 0.548055 -1.08628 I would like to obtain a plot as below I could find examples on 2D heat maps.I would like to get

[Matplotlib-users] matplotlib.ticker

2017-08-27 Thread Kurt Peters
I'm using the EngFormatter and Formatter from matplotlib 2.0.0, matplotlib.ticker . I have to go to a machine that uses an earlier 0.99. Is there an easy backward conversion to use those in 2.0 to 0.99? Regards, Kurt Peters, PhD

Re: [Matplotlib-users] Creating custom markers as the union of complex vertices

2017-07-12 Thread Sterling P. Smith
Search the internet for Proxy Artists in the legend. -Sterling - Original Message - > From: "Eric Emsellem" > To: matplotlib-users@lists.sourceforge.net > Sent: Wednesday, July 12, 2017 8:18:28 AM > Subject: [Matplotlib-users] Creating custom markers as the union

[Matplotlib-users] Creating custom markers as the union of complex vertices

2017-07-12 Thread Eric Emsellem
Hi I have been looking for an elegant/simple (working!) solution to create new complex markers for matplotlib. For example, I would like to design a new marker which is the union of a set of vertices, for example (just an example), two petals which are symmetric (see verts1 and verts2) and

[Matplotlib-users] Peter S. Shenkin and Leila Tai Shenkin have moved!

2017-07-10 Thread Peter S . Shenkin
New contact information for Peter & Leila Shenkin and Leila Tai Jewelry Design Changed: Address: We have moved from Manhattan to Forest Hills. Home telephone (land line): 347-454-9162 (replaces 212-757-2210) Unchanged: Cell phones: Peter: 646 528

[Matplotlib-users] Back When Gas Was 30¢ A Gallon

2017-07-09 Thread Peter S . Shenkin
You may have received this story previously. If so, please excuse the duplication. -P Back When Gas Was 30¢ A Gallon Peter S. Shenkin Back when gas was 30¢ a gallon, And love was only 60¢ away Thus sang Tom T. Hall. I can’t say this story is exactly about that, but it took place exactly

Re: [Matplotlib-users] mulidimension data

2017-06-28 Thread Benjamin Root
Diego, It isn't really clear from your description what the problem is. Is the problem that the sub-vectors aren't all of equal lengths (i.e., a staggered array)? Or is it that it is transposed from what you'd expect? Ben Root On Tue, Jun 27, 2017 at 9:07 AM, Diego Avesani

[Matplotlib-users] mulidimension data

2017-06-27 Thread Diego Avesani
Dear all Matplotlib Users, I would like to plot a multidimensional plot. I have found this script: multidimension script The scrip is the second one. It works perfectly. However, I have a problem with the

[Matplotlib-users] Fwd: [SciPy-User] EuroSciPy 2017 call for contributions - extension of deadline

2017-06-26 Thread Nelle Varoquaux
Hi everyone, I thought some of you might be interested in this dead line extension. Cheers, N -- Forwarded message -- From: Pierre de Buyl Date: 26 June 2017 at 03:49 Subject: [SciPy-User] EuroSciPy 2017 call for contributions - extension of deadline

Re: [Matplotlib-users] plot control

2017-04-22 Thread Sudheer Joseph
Thank you,  I did contact them, but it appears he did not understand, the issue I was telling him. Then I thought it is my lack of expertise which made it not work.Sudheer  *** Sudheer Joseph Indian National Centre for

Re: [Matplotlib-users] plot control

2017-04-19 Thread Benjamin Root
This would seem like a bug in that package's code. The traceback shows that it is performing its own check on the passed in kwargs, and failing to recognize it as a valid argument. I suggest contacting the maintainers of the "skill_metrics" package and find out from them if there is a bug in their

[Matplotlib-users] plot control

2017-04-19 Thread Sudheer Joseph
Dear Experts.I have been trying to modify plot properties of taylor diagram from below package. I wanted to make markerfacecolor as None( this allows me to show symbols which falls over another) of s as possible in normal matplotlib plots but I am not sure how to pass the argument in modified

Re: [Matplotlib-users] Plotting speed and error when calling update() using TkAgg

2017-04-18 Thread Benjamin Root
I am wondering if the "optimizations" you have are actually slowing you down. I have never found myself needing to flush_events() or call update() like that. Or to draw the artists like you are doing. Without seeing more of the code, it is hard to judge. Have you tried using "runsnakerun" to

Re: [Matplotlib-users] Plotting speed and error when calling update() using TkAgg

2017-04-18 Thread Hjalmar Turesson
Thanks for the help (and sorry for the super-late reply). I just tried blitting, but it doesn't really help. I cannot exceed 20 fps. The problem is that I'm plotting data from a video file, so that for each frame I need to draw a new array (not just a foreground). I think its just to much data.

[Matplotlib-users] Docathon : focus on documentation on your favorite opensource project!

2017-03-01 Thread Nelle Varoquaux
Hi everyone, Apologies for cross-posting : this event might be of interest to some of the projects of the scientific Python community. We are trying to encourage FOSS developers to focus on documentation for a week instead of fixing bugs or implementing cool features! Here are more informations

Re: [Matplotlib-users] [matplotlib-devel] License, freetype

2017-02-20 Thread Goyo
I usually install the matplotlib binaries from pipy and I don't remember doing a separate installation of freetype. 2017-02-18 17:20 GMT+01:00 Paul Hobson : > Especially on Windows, I always install freetype from conda. > -p > > On Sat, Feb 18, 2017 at 6:24 AM, CAB

Re: [Matplotlib-users] [matplotlib-devel] License, freetype

2017-02-18 Thread Paul Hobson
Especially on Windows, I always install freetype from conda. -p On Sat, Feb 18, 2017 at 6:24 AM, CAB wrote: > Hi, Gents, > > Many thanks for your thoughtful responses! Freetype is indeed available > under a BSD-like licensse. But when I tried to install freetype on my >

Re: [Matplotlib-users] [matplotlib-devel] License, freetype

2017-02-18 Thread CAB
Hi, Gents, Many thanks for your thoughtful responses!  Freetype is indeed available under a BSD-like licensse.  But when I tried to install freetype on my Windows system using the binary provided from GnuWin32, it attempts to force me to accept the GPL3, which I cannot.  Freetype's link to

Re: [Matplotlib-users] [matplotlib-devel] License, freetype

2017-02-17 Thread Joe Kington
Well, if Freetype were only distributed under the GPL, you couldn't distribute matplotlib in binary form without providing the source code. However, Freetype is distributed under more than one license. (see: https://www.freetype.org/license.html ) Because it's distributed under a BSD-style

Re: [Matplotlib-users] License, freetype

2017-02-17 Thread Paul Hobson
Chad, My recollections is that matplotlib doesn't distribute the source code to FreeType, it only uses it as a dependency. As such, MPL is in the clear with its more permissive licensing. -Paul On Fri, Feb 17, 2017 at 12:45 PM, CAB wrote: > Hi, All, > > I just went to

[Matplotlib-users] License, freetype

2017-02-17 Thread CAB
Hi, All, I just went to install matplotlib version 2.0.0, and it has a dependency called "freetype". This software appears to be licensed under GPL3.  My reading of that latter license is that, if someone wanted to distribute a compiled version of a program requiring matplotlib, that entire

[Matplotlib-users] Announcing: Docathon, week of 6 March 2017

2017-02-16 Thread Nelle Varoquaux
Hi everyone, As some of you already know, some of us are involved in the organization of a docathon. Several of us will be meeting up to sprint on documentation or documentation-related projects at Berkeley, New York and Seattle. If you are interested in joining us, either remotely or on campus,

[Matplotlib-users] Announcing JupyterCon 2017, August 23-25 in NYC!

2017-01-26 Thread Fernando Perez
Dear Jupyter Community, [ Forgive the cross-post, trying to spread the word to at least the most relevant communities ] it is my pleasure to announce that this year, we'll be having our first Jupyter community conference, JupyterCon. It will take place in August in NYC: http://jupytercon.com

[Matplotlib-users] Plotting speed and error when calling update() using TkAgg

2016-10-07 Thread Hjalmar Turesson
Hi all, I made a little video player using matplotlib. I need it to allow very good control over the playback speed (e.g. direction, frame-by-frame stepping and fast and slow). However, it's not very fast. Max frame rate I can achieve is 10-20 fps. I followed Basti's advice on speeding up

[Matplotlib-users] Apply a blur on patches

2016-09-26 Thread Xavier Gnata
Hi fm.py Description: Binary data -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-07 Thread Benjamin Root
... or report it as a bug against Cartopy for not observing the pad rcParam? On Wed, Sep 7, 2016 at 12:59 PM, Hearne, Mike wrote: > It turns out that the Cartopy gridline labels are NOT tick labels, but > Text objects managed by the Gridliner class. I think I'm just going >

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-07 Thread Hearne, Mike
It turns out that the Cartopy gridline labels are NOT tick labels, but Text objects managed by the Gridliner class. I think I'm just going to draw the grid line labels myself. On Wed, Sep 7, 2016 at 9:04 AM, Benjamin Root wrote: > Hmm, strange. Well, I know this works in

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-07 Thread Benjamin Root
Hmm, strange. Well, I know this works in mplot3d (we have a test for it) for i, tick in enumerate(ax.yaxis.get_major_ticks()): tick.set_pad(tick.get_pad() - i * 5) A bit silly, but it is how you can have labels anywhere you want relative to the ticks. On Wed, Sep 7, 2016 at 11:47

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-07 Thread Hearne, Mike
I couldn't find an rcParams property called "tickpad". I did find "xtick.major.pad", which was set to 4.0. Setting it to a negative value has no effect. xtick.minor.pad doesn't do anything either. On Wed, Sep 7, 2016 at 8:32 AM, Benjamin Root wrote: > I think you do that

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-07 Thread Benjamin Root
I think you do that by setting a negative tickpad value in the rcParams. On Wed, Sep 7, 2016 at 11:28 AM, Hearne, Mike wrote: > Thomas - I hate to be obtuse, but did you mean to imply that the xaxis > and yaxis properties of an Axes object are AxisArtist objects? > IPython

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-07 Thread Hearne, Mike
Thomas - I hate to be obtuse, but did you mean to imply that the xaxis and yaxis properties of an Axes object are AxisArtist objects? IPython tells me that they are XAxis and YAxis objects. From inspecting the GitHub repo, it seems that these are child classes of the Axis object. I suppose I

Re: [Matplotlib-users] accessing axis artist objects for an axes object

2016-09-06 Thread Thomas Caswell
ax.xaxis or ax.yaxis axes_grid is an alternative to the default Axes/Axis classes. Tom On Tue, Sep 6, 2016, 19:53 Hearne, Mike wrote: > Python: 3.5 > Matplotlib: 1.5.2 > > I'm trying to invert the tick labels on a Cartopy map, and I found > this Matplotlib example: > >

[Matplotlib-users] accessing axis artist objects for an axes object

2016-09-06 Thread Hearne, Mike
Python: 3.5 Matplotlib: 1.5.2 I'm trying to invert the tick labels on a Cartopy map, and I found this Matplotlib example: ax.axis[:].invert_ticklabel_direction() found here: http://matplotlib.org/mpl_toolkits/axes_grid/users/axisartist.html My problem is that any Axes object (or child class

[Matplotlib-users] trouble using emoji in labels

2016-08-21 Thread Andy Davidson
I am having a heck of a time figuring out how to use emoji’s in labels. I am using python3 on a Mac and matplotlib 1.5.2 The unicode demo works. http://matplotlib.org/examples/pylab_examples/tex_unicode_demo.html I think my issue might have to do with fonts? I found a discussion about emojis

Re: [Matplotlib-users] Fw: Matplotlib Figure margin transparancy

2016-08-10 Thread Benjamin Root
The other reason why this message never got posted is because this message was sent to the now defunct mailing list hosted by sourceforge. The mailing list moved about a year ago (I think) to python.org. You will have to subscribe in order to post unmoderated.

Re: [Matplotlib-users] Fw: Matplotlib Figure margin transparancy

2016-08-10 Thread Jens Nielsen
At least for me gmail put your mail in the spam folder. Anyway the inline backend is actually from in IPython/Jupyter and not in matplotlib. I think they have changed the default a couple of times and had the transparent as a default earlier but changed it. Looking at the current master it looks

[Matplotlib-users] Fw: Matplotlib Figure margin transparancy

2016-08-09 Thread Sudheer Joseph
Hi, I have send below query to matplotlib user group recently but did not get posted so far. Can you please tell me is there is any thin wrong with the message? With best regards, Sudheer > > Dear Expert, > Recently after up-gradation of matplotlib and ubuntu 16.04 I > am >

Re: [Matplotlib-users] Matplotlib Figure margin transparancy

2016-08-06 Thread Sudheer Joseph
Dear Expert, Recently after up-gradation of matplotlib and ubuntu 16.04 I am getting transparent figure axis when using the "linux color scheme" option in ipython qtconsole. May I know if there is a way to fix this issue?. I wanted to keep black screen as it reduces eye

[Matplotlib-users] mpl governance

2016-07-31 Thread Thomas Caswell
Folks, During the sprints at SciPy Mike Droettboom and I started to adapt the Jupyter governance documents for matplotlib. We are doing this in the open, and a pull request of the changes is at: https://github.com/matplotlib/governance/pull/1 To be clear, this is a work in progress and is not

Re: [Matplotlib-users] How to make a bi-variate or 2-dimension colormap?

2016-07-29 Thread Chao YUE
Dear all matplotlib users, I am trying to make a geographical map with colors, in which the colors of pixels will depend on 2-dimensions of (x,y), like the one attached from one publication. I searched online and this is where I arrive:

Re: [Matplotlib-users] How to set marker for a specific point in a scatter plot with colormap?

2016-07-11 Thread Thomas Caswell
scatter does not (currently) support multiple markers in a single call. You will have to do the group-by operation and call scatter is a loop. If you define your cmap and norm outside of scatter, you can pass the same instances into both calls to scatter to have mpl take care of that level of

[Matplotlib-users] How to set marker for a specific point in a scatter plot with colormap?

2016-07-11 Thread Chao YUE
Dear all matplotlib users, I have a user case that, let's say I have three series data: x,y,z. I would like to make a scatter plot using (x,y) as coordinates and z as the color of scatter points, using cmap keyword of plt.scatter. However, I would like to highlight some specific point by using a

[Matplotlib-users] Creating Colored Axis Labels using LaTeX in Interactive Mode

2016-07-11 Thread Joseph Fox-Rabinovitz
I originally posted to Stack Overflow at http://stackoverflow.com/q/38274681/2988730. I am trying to follow the answer at http://stackoverflow.com/a/38008501/2988730 to an earlier question of mine to create colored and styled legend-like entries. I have the following code: import matplotlib

[Matplotlib-users] When data is graphed with an offset

2016-06-22 Thread John Ladasky
Hi there, I have been subscribed to matplotlib-users before. I have a new job, and now I'm connecting from a new email address. I've been using Matplotlib since before 1.0 was released. Currently, I'm using MPL 1.4.2 and Python 3.5 on Ubuntu Linux 15.04 (if any of that matters). Please have a

Re: [Matplotlib-users] Failing to install matplotlib with python 3

2016-06-16 Thread Alan
Thank guys, it was an old pkg-config in my PATH. It's now sorted. Alan On 16 June 2016 at 20:10, Matthew Brett wrote: > Hi, > > On Thu, Jun 16, 2016 at 9:07 AM, Alan wrote: > > Hi there, > > > > I am not the admin so I have installed my own

Re: [Matplotlib-users] Failing to install matplotlib with python 3

2016-06-16 Thread Matthew Brett
Hi, On Thu, Jun 16, 2016 at 9:07 AM, Alan wrote: > Hi there, > > I am not the admin so I have installed my own python 3.5.1 and I am using > pip3 to install all modules I need. I got all but matplotlib :-( > > pip3 install -U matplotlib > Collecting matplotlib > Using

Re: [Matplotlib-users] Failing to install matplotlib with python 3

2016-06-16 Thread Eric Firing
Alan, This mailing list is obsolete; please use matplotlib-us...@python.org. Your traceback looks vaguely familiar as something that has come up before, but I don't have any more recollection than that. Suggestions: 1) Install your python environment the easy way via anaconda or miniconda:

[Matplotlib-users] Failing to install matplotlib with python 3

2016-06-16 Thread Alan
Hi there, I am not the admin so I have installed my own python 3.5.1 and I am using pip3 to install all modules I need. I got all but matplotlib :-( pip3 install -U matplotlib Collecting matplotlib Using cached matplotlib-1.5.1.tar.gz Complete output from command

[Matplotlib-users] Fwd: Re: [SciPy-User] [Numpy-discussion] EuroSciPy 2016

2016-06-07 Thread Nelle Varoquaux
For information on Euroscipy. Thanks, N -- Forwarded message -- From: "Pierre de Buyl" Date: Jun 7, 2016 6:59 AM Subject: Re: [SciPy-User] [Numpy-discussion] EuroSciPy 2016 To: , Cc: Dear NumPy

[Matplotlib-users] patch and its border

2016-06-04 Thread Matěj Týč
Hello, consider a case when I want to draw a patch, but it is important how the border is drawn. For example, if I have an aerial photo and I would like to add a rectangle of given dimensions as a reference. Having the rectangle interior white and its border thick and black is good, because it

Re: [Matplotlib-users] matplotlib v2.0.0b1

2016-05-31 Thread Thomas Caswell
python -m pip install --upgrade pip # upgrade pip to latest pip install --pre matplotlib Should now work on all platforms. Tom On Tue, May 31, 2016 at 6:31 PM Skip Montanaro wrote: > > A build of the docs is available at http://matplotlib.org/2.0.0b1 > > Thanks. Is there a

Re: [Matplotlib-users] matplotlib v2.0.0b1

2016-05-31 Thread Skip Montanaro
> A build of the docs is available at http://matplotlib.org/2.0.0b1 Thanks. Is there a "What's New" page in the docs? Or maybe an upgrade guide which identifies incompatibilities with 1.5? Skip Montanaro who still remembers John Hunter's interview presentation at TradeLink, lo these many years

Re: [Matplotlib-users] [Matplotlib-announce] matplotlib v2.0.0b1

2016-05-31 Thread Matthew Brett
On Mon, May 30, 2016 at 9:01 PM, Thomas Caswell wrote: > Folks, > > We tagged the first beta for v2.0.0 tonight. Please check out the new > defaults! > > This is tagged as a beta because we anticipate a longer than normal release > cycle. The style changes are substantial

[Matplotlib-users] matplotlib v2.0.0b1

2016-05-30 Thread Thomas Caswell
Folks, We tagged the first beta for v2.0.0 tonight. Please check out the new defaults! This is tagged as a beta because we anticipate a longer than normal release cycle. The style changes are substantial and we want to make sure that we have not crippled any common use cases. The target for

[Matplotlib-users] SciPy 2016 Conference (Scientific Computing with Python): Tutorials and Talks Announced

2016-05-19 Thread Courtenay Godshall (Enthought)
**ANN: SciPy 2016 Conference (Scientific Computing with Python): Tutorials and Talks Announced** We're excited to announce this year's accepted Talks & Posters and Tutorial Schedule ! This

Re: [Matplotlib-users] subplot layout

2016-04-26 Thread Paul Hobson
Viridis is in the `cm` submodule. from matplotlib import cm cmap = cm.viridis On Mon, Apr 25, 2016 at 6:24 PM, Sudheer Joseph wrote: > Hi Paul, > > I tried to get the new colormap suggestion from you but could not get the > colormap package. Where can I get it? google

Re: [Matplotlib-users] subplot layout

2016-04-25 Thread Sudheer Joseph
Hi Paul, I tried to get the new colormap suggestion from you but could not get the colormap package. Where can I get it? google search did not took me to the package/ Is it a development package? May I know how to use viridis color map with an example plot? Below is an example code from

Re: [Matplotlib-users] subplot layout

2016-04-25 Thread Sudheer Joseph
Thank you Paul, Thanks for the tips related to margins and also about colormaps. Is there a way to stop the automatic aspect ratio setting ( though it it distors map in present case ) if I wanted to use that for other plots? With best regards, Sudheer

Re: [Matplotlib-users] subplot layout

2016-04-25 Thread Jody Klymak
Yes, the left hand axis is shrinking in the vertical because it is applying the aspect ratio appropriate for 15 N and the N/S extent of your data. Either make the N/S extent of the map larger; make the left hand column wider; or make the figure shorter. Cheers, Jody > On 25 Apr 2016, at

Re: [Matplotlib-users] subplot layout

2016-04-25 Thread Paul Hobson
Your basemap plot is likely setting the aspect of the axes to "equal", so it resizes the plot accordingly. Otherwise you'd have a pretty nasty amount of vertical distortion. When you save the figure, using bbox_inches='tight' will trim the excess white space from the margins:

[Matplotlib-users] Has label grouping made it into the matplotlib features yet?

2016-04-16 Thread Dino Bektešević
I've run into this SO question a year or so ago http://stackoverflow.com/questions/19184484/how-to-add-group-labels-for-bar-charts-in-matplotlib and have recently run into several questions similar to it again. I'm not aware that this is available in any form or fashion from the matplotlib main

[Matplotlib-users] Convex Hull -- Question about Point Size

2016-04-14 Thread Lorenzo Isella
Dear All, Thanks to what I found here http://bit.ly/1qJlWkP I discovered how to plot the convex hull around a set of points (please have a look at the script pasted at the end of the email). Everything is almost done,but I have a problem: my "points" are not really point-like: they are sphere

[Matplotlib-users] inconsistency between data coordinates via axData transformation

2016-03-29 Thread Simon
Hello all, I am trying to superimpose some annotations on a plot by transforming them to the data coordinate space, and I am finding that the transformed coordinates are offset from the acutal data positions I expect them to be in. Here is my example code: import matplotlib.pyplot as plt

Re: [Matplotlib-users] [matplotlib-devel] Matplotlib style gallery

2016-03-28 Thread Tony Yu
Well... this is a *really* late reply, but I finally got around to adding easier navigation for the style gallery . I also added an update for styles added in Matplotlib 1.5 and wrote a quick post

Re: [Matplotlib-users] Scipy2016: call for proposals

2016-03-21 Thread Nelle Varoquaux
I'm terribly sorry about this second email. The deadline for submitting talks and posters for scipy 2016 is this friday (friday 25th), and not next friday (april fools day). Thanks, Nelle On 21 March 2016 at 15:32, Nelle Varoquaux wrote: > Dear all, > > This is a

Re: [Matplotlib-users] Scipy2016: call for proposals

2016-03-21 Thread Nelle Varoquaux
Dear all, This is a quick reminder that the deadline for submitting talks and posters proposal is next friday. Thanks, Nelle On 22 February 2016 at 10:15, Nelle Varoquaux wrote: > > Dear all, > > SciPy 2016, the Fifteenth Annual Conference on Python in Science,

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Claude Falbriard
Dear colleagues, Yes, I've downloaded the latest stable image of Matplotlib source from the pypi repository matplotlib-1.5.1.tar.gz, running the commands: sudo python setup.py build and sudo python setup.py install. When executing larger plots, the Agg crashes with a segmentation fault

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Benjamin Root
AGG is used for image handling, particularly for handling transforms, scaling, interpolation and such. The AxesImage object that you get from calling imshow() is handled through the AGG library. This is true regardless of the backend being used because it is based in the AxesImage class (and

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Jerzy Karczmarczuk
Le 03/03/2016 15:43, Benjamin Root a écrit : > Matplotlib will not work at all without AGG. Even the AGG-less > backends still use AGG for image handling (imshow() and such). Is it so? I never found such strong statement in the docs. 1. SVG backend produces vector graphics, no rasterisation in

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Benjamin Root
Matplotlib will not work at all without AGG. Even the AGG-less backends still use AGG for image handling (imshow() and such). We can not guarantee that matplotlib would work with agg 2.5, as that is the GPL'ed version. We develop against a patched 2.4 branch of AGG (which is BSD-licensed), which

[Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Claude Falbriard
Dear colleagues, I like to receive an advice about the best back-end choice for Matplotlib & Basemap to generate large .png images in a background processing mode. Having issues with the pre-compiled "Agg" package which does not work under my machine architecture. Also not able to recompile

[Matplotlib-users] possible regression in plt.draw (mpl 1.4.3 -> 1.5.0) when using fig.text using transformations

2016-03-01 Thread Oliver Willekens
Dear matplotlib users and developers, I'm using `plt.draw()` to force the rendering of all artists and then, based on their newly calculated positions, place a text label on the figure window in figure coordinates. The goal is to add a text label near the conventional y-axis, at the top,

Re: [Matplotlib-users] how to create interactive plots in jupyter python3 notebook?

2016-02-29 Thread Bilheux, Jean-Christophe
Hi all, Just to let you know I found this conversation and tips very useful… I just wish there was a nice complete tutorial somewhere (web, book) about everything there is to know about jupyter, widgets….etc. I started a github repo myself where I try to gather tips here and there (like today

Re: [Matplotlib-users] how to create interactive plots in jupyter python3 notebook?

2016-02-28 Thread Fernando Perez
On Sat, Feb 27, 2016 at 1:18 PM, Andy Davidson < a...@santacruzintegration.com> wrote: > Thanks. %matplitlib notebook looks great!. As I move the mouse around I > see values for x, and y . Any idea how I can get programmatic access to the > mouse events? I.E. When a user clicks I need to fetch

Re: [Matplotlib-users] how to create interactive plots in jupyter python3 notebook?

2016-02-27 Thread Andy Davidson
Hi Jens Thanks. %matplitlib notebook looks great!. As I move the mouse around I see values for x, and y . Any idea how I can get programmatic access to the mouse events? I.E. When a user clicks I need to fetch some additional info. I am sure there are many other things I’ll eventually want to

Re: [Matplotlib-users] how to create interactive plots in jupyter python3 notebook?

2016-02-27 Thread Jens Nielsen
Hi Andy Please just try replacing %matplotlib inline with %matplitlib notebook which should give you a complete interactive backend in the notebook. It's by no means as nicely documented as it should be, but I use it on a regular basis with matplotlib 1.5.1 and don't have any major issues. If you

[Matplotlib-users] how to create interactive plots in jupyter python3 notebook?

2016-02-26 Thread Andy Davidson
>Hi > >I currently have a plot that gets update in a loop with data from a >remote system. It works and looks great. (matplotlib rocks!) I currently >use > >%matplotlib inline > >Now I need to make the graph interactive. By interactive I mean I would >like the user to be able to > > >1. move the

[Matplotlib-users] Fw: Matplotlib 1.5.1 - Function pcolormesh throws Segmentation Fault / faulthandler traceback info / Error at Agg

2016-02-26 Thread Claude Falbriard
Dear colleagues, Complementing this topic: . The segmentation fault error relates to the use of the "Agg" graphical back-end which crashes with larger plots when using the command pyplot savefig. Case I switch to the .use("Cairo") package, the processing completes OK although the image is

[Matplotlib-users] Rotated axes on figure

2016-02-26 Thread Gustavo Goretkin
Hello, How can I add an axes to a figure, but specify the transform from axes coordinates to figure coordinates? I want a set of axes (ticks, spines, data, everything) that are rotated? Figure.add_axes [1] accepts a box left-bottom-width-height axis aligned box specification. I can't follow in

Re: [Matplotlib-users] Broken pipe error when saving animation for html5

2016-02-24 Thread Kyle Douglass
> > Try running with '--verbose-debug' as in: > > python basic_example_writer.py --verbose-debug > Thanks for the suggestion, Ryan. By doing so I discovered that the error was caused by ffmpeg not finding the libx264 library; the error was not at all connected with matplotlib. As it turns out, I

Re: [Matplotlib-users] Broken pipe error when saving animation for html5

2016-02-24 Thread Ryan May
Try running with '--verbose-debug' as in: python basic_example_writer.py --verbose-debug That should give you standard out and standard error from running ffmpeg, which might be illustrative. x264 is probably the most universally supported codec for html5 video. Another option would be to use

Re: [Matplotlib-users] Matplotlib 1.5.1 - Function pcolormesh throws Segmentation Fault / faulthandler traceback info

2016-02-24 Thread Claude Falbriard
Dear colleagues, Thanks for the quick feedback. I've installed the "faulthandler" package, added it to the import and enabled it with faulthandler.enable(). Below the console trace of the test using the pcolormesh function and the traceback information: python test3.py Fatal Python

Re: [Matplotlib-users] Matplotlib 1.5.1 - Function pcolormesh throws Segmentation Fault

2016-02-24 Thread Benjamin Root
Sorry, forgot to post the link: https://pypi.python.org/pypi/faulthandler/ On Wed, Feb 24, 2016 at 3:33 PM, Benjamin Root wrote: > Could you try using faulthandler and post the traceback please? That'll > help us isolate the problem better. > > Ben Root > > On Wed, Feb 24,

[Matplotlib-users] Broken pipe error when saving animation for html5

2016-02-24 Thread Kyle Douglass
Hi all, I would like to use matplotlib's animation API to create a movie that can be embedded into an html5 video tag. To do this, I am following a couple 2012 blog posts from Jake VanderPlas: http://jakevdp.github.io/blog/2012/08/18/matplotlib-animation-tutorial/ and

Re: [Matplotlib-users] Matplotlib 1.5.1 - Function pcolormesh throws Segmentation Fault

2016-02-24 Thread Benjamin Root
Could you try using faulthandler and post the traceback please? That'll help us isolate the problem better. Ben Root On Wed, Feb 24, 2016 at 3:04 PM, Claude Falbriard wrote: > Dear colleagues, > > I've done a build from source of latest *Matplotlib* package and > deployed

[Matplotlib-users] Matplotlib 1.5.1 - Function pcolormesh throws Segmentation Fault

2016-02-24 Thread Claude Falbriard
Dear colleagues, I've done a build from source of latest Matplotlib package and deployed it at our IBM z13 machine (s390x). It uses the current release 1.5.1. During the unit tests I found an issue with a test case from NOAA which uses a pcolormesh draw function with basemap. Example 2:

Re: [Matplotlib-users] Hide overlapping tick marks in axes corner

2016-01-29 Thread Oscar Benjamin
On 28 January 2016 at 19:49, Julian Irwin wrote: > > > I am looking for a way to hide tick marks (not the labels!) that coincide > with axis lines. I think this is a problem for me because of the relative > line thicknesses of my axis lines and tick marks, but I want to

Re: [Matplotlib-users] Looking for feedback on figures using matplotlib and jupyter notebook

2016-01-29 Thread Andreas Mueller
Thanks for your input Fernando. I thought about cross-posting to Jupyter, but I'm glad you also saw it here :) That would help, but not solve all problems. I guess the Figure could hold a tag for referencing, too. It would be nice to get a tag and caption from matplotlib. Maybe Benjamin's

Re: [Matplotlib-users] pyplot.hexbin

2016-01-29 Thread Benjamin Root
Hmm, you are right, there is no way to get back the information that hexbin computed. The hexbin function is massive (in lib/matplotlib/axes/_axes.py) and is a bit tangled up with the artist-handling code, too. I think it would make sense to factor out the hexbinning component into its own

[Matplotlib-users] pyplot.hexbin

2016-01-29 Thread Sebastian
Is there a simple way to hexbin using "pyplot.hexbin" and to return the ids of the set of points in each hexbin? That is to output an array of n elements (one for each hexbin), and each element itself an array with the point ids? The sum of the number of inner elements would be equal the sum of

Re: [Matplotlib-users] pyplot.hexbin

2016-01-29 Thread Thomas Caswell
Factor it out and give it to numpy! On Fri, Jan 29, 2016, 17:27 Benjamin Root wrote: > Hmm, you are right, there is no way to get back the information that > hexbin computed. The hexbin function is massive (in > lib/matplotlib/axes/_axes.py) and is a bit tangled up with

Re: [Matplotlib-users] applying an image's colormap to another image

2016-01-28 Thread Benjamin Root
You might have better luck asking the scikit-image people, or the Pillow people. ImageMagick might also have what you are looking for. Cheers! Ben Root On Wed, Jan 27, 2016 at 11:23 PM, Matteo Niccoli wrote: > Can something like this (which by the way I can't get to work):

[Matplotlib-users] Looking for feedback on figures using matplotlib and jupyter notebook

2016-01-28 Thread Andreas Mueller
Hi all. This is about a joint jupyter-notebook / matplotlib problem I've been thinking about. So I'm writing a book using jupyter-notebook, and all my figures are generated using matplotlib. In books, there is usually a figure caption with a running number and some description. From what I

[Matplotlib-users] Hide overlapping tick marks in axes corner

2016-01-28 Thread Julian Irwin
Hello, I am looking for a way to hide tick marks (not the labels!) that coincide with axis lines. I think this is a problem for me because of the relative line thicknesses of my axis lines and tick marks, but I want to leave those thicknesses unchanged (I like the look of the thickness settings I

Re: [Matplotlib-users] Looking for feedback on figures using matplotlib and jupyter notebook

2016-01-28 Thread Benjamin Root
In mpl, our figure objects get numbers assigned to them by default, but they can also be strings. These labels are used in the figure window title bar. Perhaps that existing data could be hijacked? Admittedly, most people use the string name to give nice short names to their figures, so maybe

Re: [Matplotlib-users] Looking for feedback on figures using matplotlib and jupyter notebook

2016-01-28 Thread Fernando Perez
On Thu, Jan 28, 2016 at 3:23 PM, Andreas Mueller wrote: > Hi all. > > This is about a joint jupyter-notebook / matplotlib problem I've been > thinking about. > So I'm writing a book using jupyter-notebook, and all my figures are > generated using matplotlib. > > In books, there

  1   2   3   4   5   6   7   8   9   10   >