[yt-dev] Issue #772: Unitrefactor: Off-axis slice plots don't look right when the width is explicitly set (yt_analysis/yt)

John ZuHone issues-reply at bitbucket.org
Mon Feb 3 21:14:25 PST 2014


New issue 772: Unitrefactor: Off-axis slice plots don't look right when the width is explicitly set
https://bitbucket.org/yt_analysis/yt/issue/772/unitrefactor-off-axis-slice-plots-dont

John ZuHone:

This script:


```
#!python

pf = load("GasSloshing/sloshing_nomag2_hdf5_plt_cnt_0100")
slc = SlicePlot(pf, [0.1, -0.1, 0.2], ["temperature"])
slc.show()

```
produces this plot: 

![good image](http://i.imgur.com/BacoRSg.png)

but if we try to set the width:

```
#!python

slc.set_width(500.,"kpc")
```
produces this one:

![bad_image](http://i.imgur.com/cV3mBc4.png)


Responsible: ngoldbaum



More information about the yt-dev mailing list