[yt-users] color algae
Matthew Turk
matthewturk at gmail.com
Tue Mar 26 10:01:35 PDT 2013
Hi Junhwan,
On Tue, Mar 26, 2013 at 12:38 PM, Jun-Hwan Choi <choi.junhwan at gmail.com> wrote:
> Hi yt user,
>
> I try to generate the projection plot with plot_modification from yt HUB.
> In example_image_script.py, I try to use color map "algae", it is not exist,
> becuase the algae is the yt built in color.
> Is ther any way, I can import the yt color map "algae"?
> I try to use "from yt.visualization.color_maps import raven_colormaps", nut
> the ravens_colormaps is not exist.
> I am using yt 2.4.
"algae" gets registered within matplotlib as a colormap if you do:
import yt.visualization.color_maps
You don't need to import any other yt stuff. Note that this also adds
black_green, kamae, and cubehelix.
>
> Thank you in advance,
> Junhwan
>
> --
> --------------------------------------------------------------
> Jun-Hwan Choi, Ph.D.
> Department of Physics and Astronomy, University of Kentucky
> Tel: (859) 897-6737 Fax: (859) 323-2846
> Email: jhchoi at pa.uky.edu URL: http://www.pa.uky.edu/~jhchoi
> --------------------------------------------------------------
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
More information about the yt-users
mailing list