[Matplotlib-devel] [REL] matplotlib v2.0.0rc1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Matplotlib-devel] [REL] matplotlib v2.0.0rc1

tcaswell
Folks,

We are happy to announce matplotlib v2.0.0rc1 !

This is the first release candidate for the long awaited v2.0 release.  For the full details of
what is new please see http://matplotlib.org/2.0.0rc1/users/whats_new.html .  Some of the highlights:

 - default font include most western alphabets
 - performance improvements in text and image rendering
 - vastly improved log scale ticks
 - many bug fixes and documentation improvements

Please help us by testing the release candidate.  To make this easy we
have provided both wheels and conda packages for mac, linux and
windows.  You can install pre-releases via pip:

   pip install --pre matplotlib

or via conda:

   conda install -c conda-forge/label/rc -c conda-forge matplotlib



The target for v2.0 final is around late Dec 2016/early Jan 2017.  We
anticipate there being at least 1 more release candidate.

This release is the work of over 200 individual code contributors and many
more who took part in the discussions, tested the beta releases, and
reported bug reports.  

Thank you to everyone who contributed!

Tom

ps As of sending this email we are still waiting on the mac conda
packages to finish building, (see
https://travis-ci.org/conda-forge/matplotlib-feedstock/builds/181541792) Should be done in the next few hours, but I want to go to bed ;)


_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Matplotlib-users] [REL] matplotlib v2.0.0rc1

Pierre Haessig

Hi,

Le 06/12/2016 à 06:38, Thomas Caswell a écrit :
Some of the highlights:

Very nice and useful document. I just noticed that the boxplot example has a ylim issue: the boxes' height is tiny.

This is a proposition to change the script (dflt_style_changes-7.py) that generate the plot:
(add seeding + cut extreme outliers)

np.random.seed(0)

data = np.random.lognormal(size=(37, 4))
fig, (old, new) = plt.subplots(ncols=2, sharey=True)
with plt.style.context('default'):
    new.boxplot(data, labels=['A', 'B', 'C', 'D'])
    new.set_title('New boxplots')

with plt.style.context('classic'):
    old.boxplot(data, labels=['A', 'B', 'C', 'D'])
    old.set_title('Old boxplots')

new.set_ylim(bottom=0, top=15)

best,
Pierre

_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Matplotlib-users] [REL] matplotlib v2.0.0rc1

Paul Hobson-2
Thanks for catching that Pierre. I think that the plot should just be log-scaled. I'll submit a PR shortly.
-p

On Tue, Dec 6, 2016 at 12:45 AM, Pierre Haessig <[hidden email]> wrote:

Hi,

Le 06/12/2016 à 06:38, Thomas Caswell a écrit :
Some of the highlights:

Very nice and useful document. I just noticed that the boxplot example has a ylim issue: the boxes' height is tiny.

This is a proposition to change the script (dflt_style_changes-7.py) that generate the plot:
(add seeding + cut extreme outliers)

np.random.seed(0)

data = np.random.lognormal(size=(37, 4))
fig, (old, new) = plt.subplots(ncols=2, sharey=True)
with plt.style.context('default'):
    new.boxplot(data, labels=['A', 'B', 'C', 'D'])
    new.set_title('New boxplots')

with plt.style.context('classic'):
    old.boxplot(data, labels=['A', 'B', 'C', 'D'])
    old.set_title('Old boxplots')

new.set_ylim(bottom=0, top=15)

best,
Pierre

_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel



_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Matplotlib-users] [REL] matplotlib v2.0.0rc1

Nick Timkovich

On Tue, Dec 6, 2016 at 10:51 AM, Paul Hobson <[hidden email]> wrote:
Thanks for catching that Pierre. I think that the plot should just be log-scaled. I'll submit a PR shortly.
-p

On Tue, Dec 6, 2016 at 12:45 AM, Pierre Haessig <[hidden email]> wrote:

Hi,

Le 06/12/2016 à 06:38, Thomas Caswell a écrit :
Some of the highlights:

Very nice and useful document. I just noticed that the boxplot example has a ylim issue: the boxes' height is tiny.

This is a proposition to change the script (dflt_style_changes-7.py) that generate the plot:
(add seeding + cut extreme outliers)

np.random.seed(0)

data = np.random.lognormal(size=(37, 4))
fig, (old, new) = plt.subplots(ncols=2, sharey=True)
with plt.style.context('default'):
    new.boxplot(data, labels=['A', 'B', 'C', 'D'])
    new.set_title('New boxplots')

with plt.style.context('classic'):
    old.boxplot(data, labels=['A', 'B', 'C', 'D'])
    old.set_title('Old boxplots')

new.set_ylim(bottom=0, top=15)

best,
Pierre

_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel



_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel



_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel
Loading...