[matplotlib-devel] python2 vs. python3 matplotlib different results

2013-08-28 Thread Neal Becker
Autoscaling is producing a different result on p2 vs p3.  Maybe a missed
N/M -> N//M ??

[nbecker@nbecker7 dvbs2x_iter]$ rpm -q python-matplotlib
python-matplotlib-1.2.0-14.fc19.x86_64
[nbecker@nbecker7 dvbs2x_iter]$ rpm -q python3-matplotlib
python3-matplotlib-1.2.0-14.fc19.x86_64


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] cartopy: test suite questions

2013-08-28 Thread Phil Elson
Thanks Andreas,

> I couldn't find any test runner script / method.

There is currently no "python setup.py tests" type runner (which would be
welcomed), but the obvious test runner is to use "nose" - something like
"nosetests cartopy" should do the trick. It'd also be very easy to put a
function in the cartopy.tests module so that one may run the tests with
"import cartopy.tests; cartopy.tests.run_all()" - if that'd encourage you
to run the tests, I'd be supportive of adding it :-)

> the test_img_nest.py script fails on my machine

Hmmm, yes, it makes use of the hardcoded path based on __file__ of cartopy.
It'd be pretty quick to change this to use the cartopy.config['data_dir']
location, which should be writeable. Would you mind opening an issue or if
you're keen a PR?

> Thanks for making cartopy, this is awesome :)

Cool. Glad you like it - there are still some issues to address, but in
principle it is looking very promising IMHO.

Cheers,

Phil



On 27 August 2013 17:22, andreas-h  wrote:

> Hi,
>
> I'm in the progress of packaging cartopy for Ubuntu. Some questions about
> the test suite:
>
> - I couldn't find any test runner script / method. It would be handy to
> have
> a script "run_tests.py" which performs all unit tests, or a method
> cartopy.run_tests(), or both. Otherwise, running the tests is a lot of
> manual work (which means it's less likely to happen).
>
> - the test_img_nest.py script fails on my machine (after installing the
> package), because it tries to write to the directory in which cartopy is
> installed. It would be better if filesystem write access would happen in
> some tempdir (which could be automatically cleaned up after the test).
>
> Thanks for making cartopy, this is awesome :)
>
> Cheers, Andreas.
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/cartopy-test-suite-questions-tp41914.html
> Sent from the matplotlib - devel mailing list archive at Nabble.com.
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] python2 vs. python3 matplotlib different results

2013-08-28 Thread Benjamin Root
On Wed, Aug 28, 2013 at 10:45 AM, Neal Becker  wrote:

> Autoscaling is producing a different result on p2 vs p3.  Maybe a missed
> N/M -> N//M ??
>
> [nbecker@nbecker7 dvbs2x_iter]$ rpm -q python-matplotlib
> python-matplotlib-1.2.0-14.fc19.x86_64
> [nbecker@nbecker7 dvbs2x_iter]$ rpm -q python3-matplotlib
> python3-matplotlib-1.2.0-14.fc19.x86_64
>
>
Cheers!
Ben Root
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] python2 vs. python3 matplotlib different results

2013-08-28 Thread Michael Droettboom
You provide a single standalone example to reproduce this. Most of our 
files have |from __future__ import division|, so I'm not entirely sure 
what could be going on...


Mike

On 08/28/2013 11:56 AM, Benjamin Root wrote:




On Wed, Aug 28, 2013 at 10:45 AM, Neal Becker > wrote:


Autoscaling is producing a different result on p2 vs p3.  Maybe a
missed
N/M -> N//M ??

[nbecker@nbecker7 dvbs2x_iter]$ rpm -q python-matplotlib
python-matplotlib-1.2.0-14.fc19.x86_64
[nbecker@nbecker7 dvbs2x_iter]$ rpm -q python3-matplotlib
python3-matplotlib-1.2.0-14.fc19.x86_64


Cheers!
Ben Root


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk


___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel