<div dir="ltr">So this happens because ProfilePlot and PhasePlot do not share any code, but PhasePlot and e.g. SlicePlot do. This means that ProfilePlot doesn't have as many nice features as PhasePlot. Adding support for more plot custmization functions to ProfilePlot would be a relatively easy, short project if you or anyone reading is interested.<div><br></div><div>Now to solve your immediate problem, take a look at this example:</div><div><br></div><div><a href="https://gist.github.com/f16868175e8fd7eac9ce">https://gist.github.com/f16868175e8fd7eac9ce</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 3:32 PM, Alex Hill <span dir="ltr"><<a href="mailto:ashill@haverford.edu" target="_blank">ashill@haverford.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I’m trying to modify the font and/or figure size of a profile plot. ProfilePlot doesn’t appear to have a fontsize or figure_size option or any other option that would allow customization of these parameters (unlike, say, PhasePlot or SlicePlot). There is also no set_font_size or set_figure_size option I see to modify the font size after creating the plot.<br>
<br>
For example, with PhasePlot, I could do this:<br>
<br>
g = yt.PhasePlot(d.all_data(),'dens','temp',['cell_volume'], fontsize=18)<br>
g.set_figure_size(4)<br>
<br>
The equivalent options aren’t present in ProfilePlot:<br>
<br>
f = yt.ProfilePlot(d.all_data(),'dens',['cell_volume'], fontsize=18)<br>
<br>
TypeError: __init__() got an unexpected keyword argument ‘fontsize'<br>
<br>
How can I modify the font size of a profile plot?<br>
<br>
Cheers,<br>
 Alex<br>
<br>
---------<br>
Alex Hill<br>
Senior Postdoctoral Research Associate<br>
Office: KINSC Link L106<br>
Department of Astronomy, Haverford College<br>
370 Lancaster Ave, Haverford, PA 19041 USA<br>
phone: <a href="tel:%2B1%20484%20297%202136" value="+14842972136">+1 484 297 2136</a><br>
email/iMessage: <a href="mailto:ashill@haverford.edu">ashill@haverford.edu</a><br>
<br>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>