[yt-dev] Small change for default plot style

Nathan Goldbaum nathan12343 at gmail.com
Wed May 4 15:18:43 PDT 2016


On Wednesday, May 4, 2016, Michael Zingale <michael.zingale at stonybrook.edu>
wrote:

> I'm fine either way.  I can see advantages to this new method.  On the
> topic of plot styles, is putting the colorbar right up against the plot a
> desired yt feature?  I've always thought that makes it harder to understand.
>

Yes, that was purposeful.


>
> On Wed, May 4, 2016 at 5:54 PM, Cameron Hummels <chummels at gmail.com
> <javascript:_e(%7B%7D,'cvml','chummels at gmail.com');>> wrote:
>
>> +0
>>
>> On Wed, May 4, 2016 at 2:41 PM, Nathan Goldbaum <nathan12343 at gmail.com
>> <javascript:_e(%7B%7D,'cvml','nathan12343 at gmail.com');>> wrote:
>>
>>> Hi all,
>>>
>>> On a whim I just tried out matplotlib's master branch, which includes
>>> the changes to the default plot style that will be in matplotlib 2.0.
>>>
>>> One of the things they changed is the way tickmarks are displayed.
>>> Currently, they go *inwards* in a plot, in matplotlib 2.0 they will go
>>> *outwards*.
>>>
>>> Changes to matplotlib shouldn't trigger changes to yt plots just because
>>> matplotlib changed, but perhaps we should purposefully adopt this change,
>>> since it can make plots easier to read.
>>>
>>> To make that concrete, here's a plot I just made using yt and
>>> matplotlib's master branch:
>>>
>>> http://imgur.com/BtEWO3U
>>>
>>> I don't understand why the fonts aren't correct - that will be fixed -
>>> but as far as the tickmarks go, I actually kind of like this. I think it's
>>> easier to read, especially for dark colormaps.
>>>
>>> What do you all think? What do you think about adopting outward pointing
>>> tickmarks for yt plots?
>>>
>>> -Nathan
>>>
>>> _______________________________________________
>>> yt-dev mailing list
>>> yt-dev at lists.spacepope.org
>>> <javascript:_e(%7B%7D,'cvml','yt-dev at lists.spacepope.org');>
>>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>>
>>>
>>
>>
>> --
>> Cameron Hummels
>> NSF Postdoctoral Fellow
>> Department of Astronomy
>> California Institute of Technology
>> http://chummels.org
>>
>> _______________________________________________
>> yt-dev mailing list
>> yt-dev at lists.spacepope.org
>> <javascript:_e(%7B%7D,'cvml','yt-dev at lists.spacepope.org');>
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
>>
>
>
> --
> Michael Zingale
> Associate Professor
>
> Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY
> 11794-3800
> *phone*:  631-632-8225
> *e-mail*: Michael.Zingale at stonybrook.edu
> <javascript:_e(%7B%7D,'cvml','Michael.Zingale at stonybrook.edu');>
> *web*: http://www.astro.sunysb.edu/mzingale
> github: http://github.com/zingale
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20160504/547002f2/attachment.html>


More information about the yt-dev mailing list