idea of where the
problem is) would also be great!
Tom
On Fri, Apr 24, 2015 at 8:38 AM Jesper Larsen jesper.webm...@gmail.com
wrote:
Hi Matplotlib Users,
When I make wind barbs with rounding enabled and custom barb increments I
noticed that there were no wind barbs with half barbs above 2
Hi Matplotlib Users,
When I make wind barbs with rounding enabled and custom barb increments I
noticed that there were no wind barbs with half barbs above 2 full barbs.
The reason seems to be a bug in the _find_tails method. The bug is
illustrated by this small script (_find_tails is a copy of
Hi matplotlib users,
Is it possible to disable antialiasing for a colorbar? If not directly is
it the possible to postprocess the axes instance to se antialiasing for
relevant elements?
The reason I am asking is because I would like to produce a paletted png
(using PIL) of the colorbar without
Hi matplotlib users
I am developing an application for showing weather forecasts using
matplotlib. We use wind barbs for displaying wind forecasts:
http://api.fcoo.dk/ifm-maps/greenland/?zoom=6lat=62lon=-45layer=FCOO%20Standardoverlays=TTFFF
This is fine for our power users. We do
Hi matplotlib users,
I believe the normalization behaviour is wrong for contourf at least when
using a BoundaryNorm. In the script below I am using the same norm to plot
the same data using contourf and pcolormesh. The color should change around
an x value of 0.15 but it is shifted somewhat for
point.
I will therefore instead just use levels=norm.boundaries.
Best regards,
Jesper
2014-03-28 15:17 GMT+01:00 Ian Thomas ianthoma...@gmail.com:
On 28 March 2014 12:56, Jesper Larsen jesper.webm...@gmail.com wrote:
I believe the normalization behaviour is wrong for contourf at least when
Hi matplotlib users,
I am using matplotlib to produce plots (tiles) in a Web Map Service.
Unfortunately I cannot get Matplotlib to plot on the entire image. There
are one transparent (pixel) line at the bottom and one transparent line at
the right. This is of course a problem when the tiles are
Pierre Haessig pierre.haes...@crans.org:
Hi,
Le 24/03/2014 10:45, Jesper Larsen a écrit :
I am using matplotlib to produce plots (tiles) in a Web Map Service.
Unfortunately I cannot get Matplotlib to plot on the entire image.
There are one transparent (pixel) line at the bottom and one
get transparent
colors ?
If yes, what is your .matplotlibrc ?
Nicolas
On 24 Mar 2014, at 11:49, Jesper Larsen jesper.webm...@gmail.com wrote:
Thanks Pierre,
from __future__ import division did not help me, I am using mpl 1.1.1rc.
I will try upgrading to a newer version of mpl
more efficient if you
have highly dynamic data and a caching layer).
Let me know if updating your matplotlib version helps,
Cheers,
Phil
On 24 March 2014 09:45, Jesper Larsen jesper.webm...@gmail.com wrote:
Hi matplotlib users,
I am using matplotlib to produce plots (tiles
Hi matplotlib users,
I am currently performing some experiments with plotting in matplotlib for
at web application. One thing I have noticed is that my image test sizes
are reduced by a factor 4.5 when not using antialiasing. And that for
pcolormesh the time it takes to produce a plot without
Hi Matplotlib users
I have an application where performance is critical and matplotlib is
the performance bottleneck. I am making a lot of figures using the
same basic setup of the figure. And from my profiling I can see that
this basic setup accounts for most of the CPU time. Let us say that I
Hi mpl-users,
I have a web application in which I produce png files using
matplotlib. Unfortunately the files are quite big (up to ~300 kb). I
have however tried using the Linux tool pngnq to reduce the file size
with a factor ~3-4 with almost no degradation of the result. I
therefore wondered
-- the memory usage is flat...)
Mike
Jesper Larsen wrote:
Hi matplotlib developers and users,
I have had some problems with a memory leak in a long running
matplotlib based web application that I have developed
(www.worldwildweather.com). I believe the problem is due to a memory
leak
Hi matplotlib developers and users,
I have had some problems with a memory leak in a long running
matplotlib based web application that I have developed
(www.worldwildweather.com). I believe the problem is due to a memory
leak in the Agg backend but I am not sure. Below is a script which for
me
Hi matplotlib-users,
I have an application which I am currently translating to other
languages including Chinese. I was wondering what recommendations you
have for internationalization with regards to matplotlib. Using the
default font it seems like Chinese characters are not showing up on
the
Thank you for your answers and the obvious solution (banging head into wall).
Best regards,
Jesper
2008/12/1 Jae-Joon Lee [EMAIL PROTECTED]:
On Mon, Dec 1, 2008 at 12:56 AM, Jesper Larsen [EMAIL PROTECTED] wrote:
Hi Matplotlib users,
I have a web application in which I would like to scale
Hi Matplotlib users,
I have a web application in which I would like to scale the plots down
if the users horizontal screen size is less than 800. Currently only
the plot is scaled while the fonts are fixed in size (see link below
for application). This is of course not a viable solution. I was
Hi Eric and Mauro,
Thanks for your answers.
2008/11/27 Eric Firing [EMAIL PROTECTED]:
It looks OK to me with mpl and numpy from svn.
I tried upgrading to numpy from svn as well. Unfortunately the problem
persists (I have attached a plot). I have seen the problem on two of
my Ubuntu machines.
Hi matplotlib users,
The script below produces weird arrows when using numpy 1.2.1 and
matplotlib trunk. When I reinstall numpy 1.2.0 instead it seems fine.
I use the Agg backend. I am not sure where to start in tracking the
bug down so I will just post the rather sparse information that I
have.
Hi mpl users,
I am trying to save a figure to a file like object (a StringIO object)
and load this object into PIL (Python Imaging Library). The code for
this is really simple (fig is my figure object):
# This works
fig.savefig('test.png', format='png')
im = Image.open('test.png')
# This fails
Hi matplotlib-users,
I decided to try to make some plots that I have previously made in png
format using the Agg backend in jpeg format using the GTKAgg backend
(which I guess is the one I should use for this). Unfortunately my
script exits with an error. I have therefore created a simple test
Hi Matplotlib users,
I have an application which produces PNG files using the AGG backend.
When I profile the application I can see that much of the cpu time is
spent in the method write_png called by print_figure in backend_agg.py.
Does anyone know which backend is the best for producing fast
On Mon, 2008-03-03 at 08:16 -0500, Michael Droettboom wrote:
I have an application which produces PNG files using the AGG backend.
When I profile the application I can see that much of the cpu time is
spent in the method write_png called by print_figure in backend_agg.py.
I have seen this
)
pylab.savefig('test.png')
Has anyone got any suggestions on how to reduce the font size of the
exponential as well or is this a bug in matplotlib?
- Jesper
--
Jesper Larsen, Ph.D.
Scientist
National Environmental Research Institute
University of Aarhus
Department of Marine Ecology
Frederiksborgvej 399
Hi Jeff,
On Friday 06 July 2007 18:28, Jeff Whitaker wrote:
Jesper: Hmm, I guess I never thought anyone would make a map that small.
I tweaked some of the parameters to make it work better (svn revision
3470). Here's the diff in case you just want to apply the patch manually:
Thanks for
On Friday 01 June 2007 18:52, Jeff Whitaker wrote:
Jesper: Here's a better way, that allows you to label the meridians and
parallels. It will only work for projection='cyl', although a similar
solution could be worked up for 'merc' and 'mill'.
snip
Thanks,
I have implemented that solution.
Hi matplotlib users,
I have a small web application for calculating tsunami travel times
(http://ocean.dmi.dk/apps/tsunami). The application uses matplotlib/basemap
for producing contour maps of the tsunami travel times.
To speed up the response time of the application I made a version in
Hi Trevis,
On Wednesday 23 May 2007 17:17, Trevis Crane wrote:
1) It's pretty easy to include text on a graph, but are LaTex strings
supported? That is, I want to write something like this on my plot:
'\Phi_0 = blah...'. When passing a LaTex command as part of text string
to be written on
On Thursday 10 May 2007 17:12, Simon Kammerer wrote:
I use a list for every category of items (contoursets, clabels, texts,
...), as the way to remove them is slightly different.
Then I remove them from the map axes:
for contourset in contoursets_to_remove:
for coll in
On Monday 07 May 2007 16:46, Jeff Whitaker wrote:
Jesper: Can you be more specific about why you need a deepcopy? Those
methods you mention do not modify the Basemap instance, although they do
modify the axes instance they are used with. It shouldn't be a problem
reusing the Basemap
Hi matplotlib basemap users,
I am doing a lot of plots of the same area but for different vertical levels,
time steps and parameters. I am therefore trying to reuse my basemap instance
(which in some cases is quite time consuming to setup). I am doing this by
making a deepcopy of a basemap
On Monday 07 May 2007 16:02, Jesper Larsen wrote:
The deepcopy operation takes almost as much time as creating a new basemap
instance. If the basemap instance was unchanged by my plotting I would of
course be able to avoid doing this and simply use a basemap instance
without copying it. Am I
Hi matplotlib users,
I'm using matplotlib for a long running process. Unfortunately the memory
usage continue to grow as the process runs. I have appended a simple example
which illustrates this at the end of this mail. Unfortunately I haven't
figured out how to use the information obtainable
34 matches
Mail list logo