Re: [Matplotlib-users] Suggested enhancement to imshow shading (with possible code)

2012-02-16 Thread Benjamin Root
On Thursday, February 16, 2012, Kathleen M Tacina wrote: > ** > I've found matplotlib to be a very nice tool. In particular, I've been > using the LightSource class in colors.py. > > However, LightSource.shade always uses the array min and max to set the > minimum and maximum colormap values. I'

Re: [Matplotlib-users] _RendererAgg(int(width), int(height), dpi, debug=False): ValueError: width and height must each be below 32768

2012-02-16 Thread Benjamin Root
On Thursday, February 16, 2012, Martin Mokrejs wrote: > Hi Ben, > glad you found the answer. Once again, does F.get_size_inches() have to > return to > the user the numpy array? Why not a list or tuple? I don't mind matplotlib > internal > stuff. ;-) We don't return a list or a tuple because ot

Re: [Matplotlib-users] svg in plot

2012-02-16 Thread Jerzy Karczmarczuk
Benjamin Root : > it would be impossible to fully implement, such a module would never > be included in matplotlib, but that shouldn't stop someone from > creating a useful basic tool. Yes. Thank you Ben. I so concentrated on the "vector" side of the original question that I forgot that AGG has

Re: [Matplotlib-users] (no subject)

2012-02-16 Thread de...@verizon.net
..Gain Your Freedom, Manage Your Own Business http://gay68.sexerapide.com/job.link.php?ispage=87dy6 -- Sent using Verizon.net Mobile -- Virtualization & Cloud Managemen

Re: [Matplotlib-users] _RendererAgg(int(width), int(height), dpi, debug=False): ValueError: width and height must each be below 32768

2012-02-16 Thread Martin Mokrejs
Hi Ben, glad you found the answer. Once again, does F.get_size_inches() have to return to the user the numpy array? Why not a list or tuple? I don't mind matplotlib internal stuff. ;-) In an answer to your proposed workaround > DefaultSize = tuple(F.get_size_inches()) let me comment that (I

Re: [Matplotlib-users] _RendererAgg(int(width), int(height), dpi, debug=False): ValueError: width and height must each be below 32768

2012-02-16 Thread Benjamin Root
On Thu, Feb 16, 2012 at 3:09 PM, Martin Mokrejs wrote: > Hi Benjamin, > thank you for you explanation. My comment is below in the text: > > Benjamin Root wrote: > > > > > > On Tue, Feb 14, 2012 at 4:43 PM, Martin Mokrejs < > mmokr...@fold.natur.cuni.cz > wrote

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

2012-02-16 Thread Tony Yu
On Thu, Feb 16, 2012 at 4:14 PM, Daniel Welling wrote: > 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 exam

[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] _RendererAgg(int(width), int(height), dpi, debug=False): ValueError: width and height must each be below 32768

2012-02-16 Thread Martin Mokrejs
Hi Benjamin, thank you for you explanation. My comment is below in the text: Benjamin Root wrote: > > > On Tue, Feb 14, 2012 at 4:43 PM, Martin Mokrejs > wrote: > > Ah, this seems to be the issue that my figsize was growing all the time > so it >

Re: [Matplotlib-users] svg in plot

2012-02-16 Thread Benjamin Root
On Thu, Feb 16, 2012 at 2:41 PM, Jerzy Karczmarczuk < jerzy.karczmarc...@unicaen.fr> wrote: > I forgot to add something... > > Benjamin Root : > > There is absolutely no reason why a module could not be made for this, > > given that everything in matplotlib is assumed to be vector-based. > > You j

Re: [Matplotlib-users] svg in plot

2012-02-16 Thread Jerzy Karczmarczuk
I forgot to add something... Benjamin Root : > There is absolutely no reason why a module could not be made for this, > given that everything in matplotlib is assumed to be vector-based. > You just need a library that can load up the data in the SVG file into > information that is sensibly org

Re: [Matplotlib-users] svg in plot

2012-02-16 Thread Jerzy Karczmarczuk
William Hoburg: > Is there a way to import a svg-image into a plot? > I know that there are some possibilities to import png > (http://matplotlib.sourceforge.net/examples/pylab_examples/demo_annotation_box.html) > or eps (which is then rastered). > But till now I didn't find any way to import/emb

Re: [Matplotlib-users] svg in plot

2012-02-16 Thread Benjamin Root
On Thu, Feb 16, 2012 at 1:53 PM, Jeffrey Blackburne < jblackbu...@alum.mit.edu> wrote: > Hi William, > > I am fairly certain that matplotlib does not have the capability to > do what you are looking for. (If I am wrong, I'm sure someone will > correct me.) > > You may have better luck using someth

Re: [Matplotlib-users] svg in plot

2012-02-16 Thread Jeffrey Blackburne
Hi William, I am fairly certain that matplotlib does not have the capability to do what you are looking for. (If I am wrong, I'm sure someone will correct me.) You may have better luck using something like Scribus or Inkscape. Best, Jeff On Feb 16, 2012, at 2:43 PM, William Hoburg wrote:

[Matplotlib-users] svg in plot

2012-02-16 Thread William Hoburg
Hi everybody, Is there a way to import a svg-image into a plot? I know that there are some possibilities to import png (http://matplotlib.sourceforge.net/examples/pylab_examples/demo_annotation_box.html) or eps (which is then rastered). But till now I didn't find any way to import/embed a real ve

[Matplotlib-users] pip install -U matplotlib gives me 1.0.1?

2012-02-16 Thread Jacob Biesinger
Hi! I currently have matplotlib 1.0.1 installed and would like to upgrade to 1.1.0 but pip is trying to install 1.0.1... $ pip install -U matplotlib Downloading/unpacking matplotlib Downloading matplotlib-1.0.1.tar.gz (13.3Mb): 516Kb downloaded Same story when specifying the matplotlib versio

Re: [Matplotlib-users] Fwd: Re: Colobar and change axis x and y labels

2012-02-16 Thread Jerzy Karczmarczuk
"Pythphys", would it be too demanding to ask you to sign your messages with a human name?... Danke. You ask: > - changing to an image grey scale only needs ... what? plt.set_cmap(plt.cm.gray) in the context of your current figure. Or, use cmap=... in your imshow. Please, look up "colormap" in t