Hi all,
I've just run into an issue with the way plot window currently handles the derived field display_names. Everything works great so long as the display name is an ascii string (true for 99% of yt fields) but if I define a new field and I want the display name to include some latex macros, things currently break.
This wasn't a problem using PlotCollection since the colorbar label wasn't rendered in mathtext unless the display_name string was explicitly passed as mathtext. When I finished up plot window I decided to force the axis labels and colorbar labels to be mathtext so that the unit label and field name are rendered in the same font.
A simpler solution would be to go back to annotating the labels using the matplotlib fonts. I'm -1 on that since I think the plots don't look as nice.
Personally, I'm +1 on my changeset but since this is a biggish change that might interfere with user-defined fields, I wanted to open a discussion on the dev list about how to handle the issue before submitting a PR.
Cheers,
Nathan