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

Nick Timkovich prometheus235 at gmail.com
Tue Dec 6 12:33:12 EST 2016


How permanent are Toms Temporary notes? ;)

http://matplotlib.org/2.0.0rc1/users/dflt_style_changes.html#temporary-notes-tom-is-keeping-in-the-source-so-they-do-not-get-lost

On Tue, Dec 6, 2016 at 10:51 AM, Paul Hobson <pmhobson at gmail.com> 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 <pierre.haessig at crans.org>
> wrote:
>
>> Hi,
>> Le 06/12/2016 à 06:38, Thomas Caswell a écrit :
>>
>> Some of the highlights:
>>
>>  - new default styles ( http://matplotlib.org/2.0.0rc1
>> /users/dflt_style_changes.html  )
>>
>> 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
>> Matplotlib-devel at python.org
>> https://mail.python.org/mailman/listinfo/matplotlib-devel
>>
>>
>
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20161206/da470c5b/attachment.html>


More information about the Matplotlib-devel mailing list