[yt-users] data_source with SlicePlot

Elizabeth Tasker tasker at astro1.sci.hokudai.ac.jp
Tue Jul 9 00:57:12 PDT 2013


Hi everyone,

I seem to have to make sad choice when creating slices or projections:

I can't seem to both use a region as the data source for my slice/projection and also specify a font size for the legend / axis labels.

With SlicePlot, I can use "fontsize" but there is no data_source argument.

With add_projection (which isn't quite a slice but close enough), I have a data_source argument but "fontsize" isn't recognised (I also tried "p.set_font({"size": 30})" but to no avail).

Is it possible to have a slice (or projection) with both these options available without resorting to creating frbs?

Thanks!

Elizabeth


More information about the yt-users mailing list