I don't know how to do it with the MPL agg back-end, but I think you
mentioned wx, and you can do it there instead. a wxImage can be
constructed from a buffer object, then saved as a PNG. You may need to
set the rgb and alpha portions separately. See the wxPython wiki and
search for "Image".
A
Hello everybody,
first of all I hope my mails on the issue 'Prompt/TextBox/InputButton' don't
become to many.
But I had one more idea and I want to share it with you.
If you don't like my usage of lists as a pointer to variables, one could
replace this in two steps:
1) Adding a new method 'get
Andrew McLean wrote:
[...]
> Dorling cartograms described here (with an example near the bottom of
> the page):
>
> http://www.ncgia.ucsb.edu/projects/Cartogram_Central/types.html
Thanks for the link.
Eric
>
> Regards,
>
> Andrew
--
In matplotlib 0.90.1 the behavior of legend() seems to have changed.
Here's a test code fragment:
---
import pylab
import numpy
y=numpy.arange(-10,10)**2
print y
pylab.plot(y)
pylab.legend()
pylab.show()
---
Running on python 2.5.1, matplotlib 0.90.
Eric Firing wrote:
> Andrew McLean wrote:
>> It all works. However, I saw in the API documentation (and the source)
>> that there is a Circle object in patch. I was hoping that using this
>> rather than polygons would give better quality output and possibly
>> smaller files. Now I can instantiate i
Hello,
I started using pylab-matplotlib some weeks ago. And it is really good.
I'm working now on windows (TkAgg).
I have written a small app that reads a file and plot it. User can
press a key to read another file, and plot it over. The problem is
that the I have to resize the plot window to se
Andrew McLean wrote:
> I'm a new user of matplotlib (athough I have been using both Matlab and
> Python for years).
>
> I have an application where I need to display data as a set of filled
> circles. The centre and the radius of the circles are both specified in
> data coordinates. The data point