Re: [Matplotlib-users] wrong link at http://matplotlib.org?

2013-08-07 Thread Martin Spacek
I think by download page, Keith meant project page.

The direct link seems to be http://sourceforge.net/p/matplotlib/mailman/ . Is
that permanent enough? Perhaps SF's structure has changed since the "lists" link
on the MPL website (http://sourceforge.net/mail/?group_id=80706) was last 
updated.

Martin

On 13-08-07 11:37 AM, Michael Droettboom wrote:
> Hmm...  It takes me to the matplotlib project page on sourceforge, which I
> think is as close to a direct permalink as we can get.  Not sure why it takes
> you somewhere else.  Did you get redirected?
>
> Mike
>
> On 08/07/2013 11:47 AM, keith.bri...@bt.com wrote:
>> The link "join the matplotlib mailing lists" actually goes to the
>> sourceforge download page.
>>
>> Keith
>>
>>


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Bug in Custom Dash List

2013-08-07 Thread Jeffrey Spencer
I think the function should be np.all(dash_list <= 0.0) instead of np.any?
This works 100% fine on my machine so I think it just hangs if all values
are less than or equal to zero. That hangs on my machine as you stated.

>From digging into that I also realized I could have put (None, None) to get
a solid line in my dash list which is what I desired but I think (1,0) is
more intuitive and doesn't cause any errors. Since dash lists have to be
even number of values, could not just put (1) to get a solid line.

I guess do whichever you think is better.

Cheers,
Jeff




On Tue, Aug 6, 2013 at 4:14 AM, Michael Droettboom  wrote:

>  The problem is that a 0-length dash or space is undefined.  In Agg, it
> causes an infinite loop (presumably because the line cursor never moves).
> Saving it to a PDF file and opening it in Acrobat Reader reveals a blank
> page (presumably because it's doing something smarter, but also basically
> throwing up its hands).  In SVG, you get a solid line, which may or may not
> be the right behavior.
>
> Given that a value of 0 doesn't make much sense anyway, I thought it best
> to just disallow it.  Jeffrey: Do you have a good need for this?
>
> Here's the original PR:
>
> https://github.com/matplotlib/matplotlib/pull/1999
>
> Mike
>
>
> On 08/05/2013 01:36 PM, Benjamin Root wrote:
>
> @mdboom, from git blame, this looks to be specifically introduced by you
> via 
> 7e7b5320on
>  May 15th, and you even added some tests for handling path clipping.
> Perhaps the choice of "<=" should have been just "<"?
>
>
> --
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find 
> out.http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
>
>
>
> ___
> Matplotlib-users mailing 
> listMatplotlib-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
>
> --
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] corrupt fonts problem

2013-08-07 Thread Michael Droettboom
You can set the rcParam "verbose.level" to "debug-annoying".  Then, when 
it runs through all of your fonts, it should be clear which one caused 
the problem.

Note that I'm in the process of rewriting large parts of the font 
infrastructure as part of MEP14, so these sorts of things should 
hopefully be less common in the future.

Mike

On 08/07/2013 11:56 AM, vwf wrote:
> Hello,
>
> Matplotlib does not like one (or more) of my fonts. Since I own a
> considerable set it is very hard to find out which one violates the
> requirements. Is it possible to let matplotlib which font is the
> problem?
>
> Thanks
>
> --
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] pip install 0SX 10.7

2013-08-07 Thread Michael Droettboom
On 08/07/2013 01:24 PM, Matthew Brett wrote:
> Hi,
>
> On Wed, Aug 7, 2013 at 4:50 AM, Michael Droettboom  wrote:
>> It should look in /usr/include and /usr/local/include by default.  Is it
>> in either place?
> There are no freetype* files in either place, no.  How would they get
> there (other than an explicit install)?
>
I think the usual advice here is to install the freetype development 
packages with MacPorts or homebrew -- but this is probably where I 
should step back at let one of the Mac OS-X folks speak up.

Mike

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] wrong link at http://matplotlib.org?

2013-08-07 Thread Michael Droettboom
Hmm...  It takes me to the matplotlib project page on sourceforge, which 
I think is as close to a direct permalink as we can get.  Not sure why 
it takes you somewhere else.  Did you get redirected?

Mike

On 08/07/2013 11:47 AM, keith.bri...@bt.com wrote:
> The link "join the matplotlib mailing lists" actually goes to the sourceforge 
> download page.
>
> Keith
>
>
> --
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Figure editor fixes need testing

2013-08-07 Thread Martin Spacek
Hello,

I found an issue where the figure editor (the checkbox icon in the toolbar) 
incorrectly captures the color properties from the existing curves in the plot:

https://github.com/matplotlib/matplotlib/issues/2274

So I put together a pull request that fixes it:

https://github.com/matplotlib/matplotlib/pull/2275

Could we get someone (or someones?) to give it a whirl, make sure everything 
works as expected and that nothing obvious has broken?

Thanks,

Martin





--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] pip install 0SX 10.7

2013-08-07 Thread Matthew Brett
Hi,

On Wed, Aug 7, 2013 at 4:50 AM, Michael Droettboom  wrote:
> It should look in /usr/include and /usr/local/include by default.  Is it
> in either place?

There are no freetype* files in either place, no.  How would they get
there (other than an explicit install)?

Thanks again,

Matthew

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] cannot understand http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.show

2013-08-07 Thread Benjamin Root
On Wed, Aug 7, 2013 at 11:45 AM,  wrote:

> The last line of text below seems to say that setting block to either True
> or False causes an override of the blocking behavior.  I don't think this
> is as intended.   Which way round is it (in fact I find it has no effect)?
>
> The problem I have is that using pyplot.show at the top level of a python
> script works correctly, but as soon as I out the same code inside a
> function, I see no plot.
>
> How do I fix this?
>
> Keith
>
> http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.show
>
> matplotlib.pyplot.show(*args, **kw)
>
> In non-interactive mode, display all figures and block until the figures
> have been closed; in interactive mode it has no effect unless figures were
> created prior to a change from non-interactive to interactive mode (not
> recommended). In that case it displays the figures but does not block.
>
> A single experimental keyword argument, block, may be set to True or False
> to override the blocking behavior described above.
>

Which version of matplotlib are you using, and which backend?

import matplotlib
print matplotlib.__version__, matplotlib.get_backend()

Cheers!
Ben Root
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] wrong link at http://matplotlib.org?

2013-08-07 Thread keith.briggs
The link "join the matplotlib mailing lists" actually goes to the sourceforge 
download page.

Keith


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] cannot understand http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.show

2013-08-07 Thread keith.briggs
The last line of text below seems to say that setting block to either True or 
False causes an override of the blocking behavior.  I don't think this is as 
intended.   Which way round is it (in fact I find it has no effect)?

The problem I have is that using pyplot.show at the top level of a python 
script works correctly, but as soon as I out the same code inside a function, I 
see no plot.

How do I fix this?

Keith

http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.show

matplotlib.pyplot.show(*args, **kw)

In non-interactive mode, display all figures and block until the figures have 
been closed; in interactive mode it has no effect unless figures were created 
prior to a change from non-interactive to interactive mode (not recommended). 
In that case it displays the figures but does not block.

A single experimental keyword argument, block, may be set to True or False to 
override the blocking behavior described above.
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] corrupt fonts problem

2013-08-07 Thread vwf
Hello,

Matplotlib does not like one (or more) of my fonts. Since I own a
considerable set it is very hard to find out which one violates the
requirements. Is it possible to let matplotlib which font is the
problem?

Thanks

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Europe without coastline

2013-08-07 Thread vwf
On Tue, Aug 06, 2013 at 01:46:15AM -0700, ChaoYue wrote:
> I am using mat 1.20 and basemap 1.0.5, I tried your code and don't have the
> same issue.

After building matplotlib 1.2.0 and basemap 1.0.6 packages for Debian
the problem is gone: I have coastlines now.

Thanks

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] pip install 0SX 10.7

2013-08-07 Thread Michael Droettboom
It should look in /usr/include and /usr/local/include by default.  Is it 
in either place?

On 08/06/2013 10:16 PM, Matthew Brett wrote:
> Hi,
>
> Continuing my adventures with setuptools
>
> I'm installing matplotlib into a clean + numpy virtualenv with python.org 2.7
>
> I have CC=clang in order to involve some header problems with the
> default gcc compiler.
>
> numpy compiles and installs OK.
>
> pip install matplotlib errors with:
>
> clang -fno-strict-aliasing -fno-common -dynamic -isysroot
> /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG
> -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API
> -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
> -I/usr/X11/include -I.
> -I/Users/mb312/.virtualenvs/py27-mpl/lib/python2.7/site-packages/numpy/core/include
> -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -c src/ft2font.cpp -o build/temp.macosx-10.6-intel-2.7/src/ft2font.o
>
> In file included from src/ft2font.cpp:3:
>
> In file included from src/ft2font.h:16:
>
> /usr/X11/include/ft2build.h:56:10: fatal error:
> 'freetype/config/ftheader.h' file not found
>
> #include 
>
>   ^
>
> 1 error generated.
>
> error: command 'clang' failed with exit status 1
>
> I guess I need freetype installed in /usr/local separately?
>
> Thanks for your help,
>
> Matthew
>
> --
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users