[pyngl-talk] PyNGL skewT default background color

Bill Ladwig ladwig at ucar.edu
Thu May 3 15:35:53 MDT 2018

Hi Matt,

Unfortunately there isn't a resource for this, but if you're willing to
modify your copy of PyNGL, you can manually change the color pretty easily.
In your site-packages directory for your Python distribution, you should
see a PyNGL directory. Under that, there is Ngl.py. Around line 6054, in
the skewt_bkg function, you'll see this:

if (localOpts.sktDrawColAreaFill):
>     color1 = "PaleGreen2"            # "LightGreen"
>     color2 = "Background"            # "Azure"

Change "PaleGreen2" for color1 to a color of your liking.

Hope this helps,


On Thu, May 3, 2018 at 12:08 PM, Fearon, Dr. Matthew, Contractor, Code 7533
via pyngl-talk <pyngl-talk at ucar.edu> wrote:

> Dear PyNGL users:
> I’m using the Ngl resources for skewT plotting. I was wondering if anyone
> has experimented with changing the default green sktColoredBands to another
> color. This option turn the bands off/on, but is there a resource or a
> trick for changing the default green banded background color?
> Thank you,
> Matt
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20180503/d38c224b/attachment.html>

More information about the pyngl-talk mailing list