[yt-dev] Issue #915: SlicePlot fails with odd combination of width units (yt_analysis/yt)

Chris Malone issues-reply at bitbucket.org
Thu Oct 2 12:34:43 PDT 2014


New issue 915: SlicePlot fails with odd combination of width units
https://bitbucket.org/yt_analysis/yt/issue/915/sliceplot-fails-with-odd-combination-of

Chris Malone:

For a `SlicePlot` with a user-specified `width` that has different units, the plot fails to properly render and matplotlib complains issuing warnings.  See the last plot in this [notebook](http://nbviewer.ipython.org/urls/dl.dropbox.com/s/bf62wclpjduvlit/example.ipynb?dl=0)

In the above notebook, `w[0]` has units of `code_length`, whereas `w[1]` has units of `Mpc`.  It's not clear if all non-similar units cause an issue, or if this is pathological.





More information about the yt-dev mailing list