Re: [Matplotlib-users] Focus in OSX

2012-04-13 Thread Michiel de Hoon
OK, that is good to know. The Apple-supplied python is not installed as a framework; I don't know for the Enthought distribution. Anyway, the MacOSX backend checks whether your Python is installed as a framework, and it issues a warning if it is not installed as a framework. For your non-framewo

[Matplotlib-users] Inconsistent Saving of Figures With Hatching

2012-04-13 Thread Patrick Marsh
Greetings, I've noticed an issue when trying to create hatched plots. When I try to create hatched plots with dashed lines, I get inconsistent behavior between matplotlib.pyplot.show() and matplotlib.pyplot.savefig(). The show() command will correctly (in terms of what I want) display the hatched

Re: [Matplotlib-users] Focus in OSX

2012-04-13 Thread Elliot Saba
Confirmed, when I installed my python as a framework, (With homebrew, `brew install python --framework`) the focus now works properly. -E On Thu, Apr 12, 2012 at 7:57 PM, Chris Laumann wrote: > Actually I don't know about the apple supplied python, but I believe > enthoughts python is installed

Re: [Matplotlib-users] corrupt pdf of histogram

2012-04-13 Thread Jouni K . Seppänen
Jouni K. Seppänen writes: > I have a suggested fix for this at > https://github.com/matplotlib/matplotlib/pull/817 This is now merged into the v1.1.x branch, from which the fix should propagate to the upcoming release. -- Jouni K. Seppänen http://www.iki.fi/jks -

[Matplotlib-users] Matplotlib and Cpp

2012-04-13 Thread Ignas Anikevicius
Dear all, I was wondering if it is possible to use matplotlib from C++ directly and I have found an example on how to do this on StackOverflow: http://stackoverflow.com/questions/2509156/anyone-knows-a-matplotlib-equivalent-in-c-or-c However, my question is about piping. Where could I find any t

Re: [Matplotlib-users] Looking for additional help about moving a legend

2012-04-13 Thread Benjamin Root
On Fri, Apr 13, 2012 at 2:21 AM, Jonathan Bruck wrote: > Thanks for a response, but unfortunately it doesn't seem to work. I have > some sample code on pastebin http://pastebin.com/W6JmbCsz in case the > following does not email out well > > # -*- coding: utf-8 -*- > """ > Created on Thu Apr 12 1

Re: [Matplotlib-users] Improve the error message or introduce support for colors as RGS tuples

2012-04-13 Thread Martin Mokrejs
Martin Mokrejs wrote: > Hi, > I am trying to improve my code where I cannot find out why matplotlib-1.1.0 > does not > support colors specified as RG tuples. Here is an example. > > > > import numpy as np > import matplotlib.pyplot as plt > > _nums = [160.0, 160.0, 160.0, 95.0, 160.0, 160.

[Matplotlib-users] Improve the error message or introduce support for colors as RGS tuples

2012-04-13 Thread Martin Mokrejs
Hi, I am trying to improve my code where I cannot find out why matplotlib-1.1.0 does not support colors specified as RG tuples. Here is an example. import numpy as np import matplotlib.pyplot as plt _nums = [160.0, 160.0, 160.0, 95.0, 160.0, 160.0] _colors = [(0.5019607843137255, 0.0, 0.5019