I think Jeff's right about keeping a mapping to matplotlib.  We get into trouble when we try to have our own system for setting fonts, labels, etc.  If we can just hand the user back a figure or an axes object with their image inside of it, then people can do whatever they want with it using all the stuff matplotlib has to offer.<br>
<br>Britton<br><br><div class="gmail_quote">On Tue, May 3, 2011 at 5:18 PM, j s oishi <span dir="ltr"><<a href="mailto:jsoishi@gmail.com">jsoishi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Matt,<br>
<br>
One thing to think very hard about is that reason *must* be able to<br>
generate publication quality plots. Of course, this is *very* hard,<br>
and we don't need our minimal image system to handle that. One way<br>
toward doing that is to make sure the system has a direct mapping to<br>
matplotlib for publication quality plots. If we do that, then we<br>
maintain the system for putting things over the wire to Reason, but we<br>
can always generate a more beautiful eps/pdf for publication when<br>
necessary.<br>
<font color="#888888"><br>
<br>
j<br>
</font><div><div></div><div class="h5"><br>
On Fri, Apr 29, 2011 at 5:57 AM, Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I've been thinking about the best way to construct minimal image<br>
> representations, which feed into the Reason / plotting refactor ideas.<br>
>  I started sketching out a minimally-reproducible phase plot in<br>
> yt/visualization/profile_plotter.py, in the objects<br>
><br>
> AxisSpec<br>
> ColorbarSpec<br>
> ImagePlotContainer<br>
><br>
> I think that as it stands it encompasses how to save and then recreate<br>
> a (simply) visualization, but I was wondering if some other people<br>
> could look that over, and help me come up with ideas for what would be<br>
> necessary to also make sure it faithfully represents image plots, 1D<br>
> line plots, and so on.  IT doesn't need to cover all possibilities,<br>
> just the basic ones.<br>
><br>
> Anyway, ideas would be greatly appreciated!  Thanks!<br>
><br>
> -Matt<br>
> _______________________________________________<br>
> Yt-dev mailing list<br>
> <a href="mailto:Yt-dev@lists.spacepope.org">Yt-dev@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
><br>
_______________________________________________<br>
Yt-dev mailing list<br>
<a href="mailto:Yt-dev@lists.spacepope.org">Yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</div></div></blockquote></div><br>