[pyngl-talk] Exclude outer boxes in panel contour plot
Mary Haley
haley at ucar.edu
Fri Aug 31 15:04:20 MDT 2018
I didn't have enough colors in the panel bar, so I've included a fix.
I also turned on the individual labelbars with "ExternalEdges" set so you
can compare the individual labelbars with the panel one.
--Mary
On Thu, Jul 19, 2018 at 5:55 PM, Mary Haley <haley at ucar.edu> wrote:
> Hello,
>
> It appears that the paneling code doesn't recognize this resource.
>
> As a work-around, you can create the labelbar from scratch without too
> much trouble. I've attached an example. The draw_ndc_grid can be useful
> to help you visually place the labelbar, but you could also do this
> programmatically.
>
> ---Mary
>
>
> On Mon, Jul 16, 2018 at 3:47 AM, Puneet Sharma via pyngl-talk <
> pyngl-talk at ucar.edu> wrote:
>
>> Hi
>>
>> I am using PyNGL 1.5.0. I am trying to panel four contour plots. The plot
>> is coming fine but when I try to exclude outer boxes of colorbar by giving
>>
>> resources.cnLabelBarEndStyle = "ExcludeOuterBoxes"
>>
>> it does not work. I also tried to give this resource in panel resources.
>>
>> panelres.cnLabelBarEndStyle = "ExcludeOuterBoxes"
>>
>> but still it is not working. Please help
>> --
>> Puneet Sharma
>> Ph.D. Research Scholar
>> Centre for Atmospheric Sciences
>> IIT Delhi, Hauz Khas
>> Contact No. 9891582124
>>
>> _______________________________________________
>> 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/20180831/c5b496bd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: labelbar_exclude_outer_boxes_bug.png
Type: image/png
Size: 158336 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20180831/c5b496bd/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: labelbar_exclude_outer_boxes_bug.py
Type: text/x-python-script
Size: 3499 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20180831/c5b496bd/attachment-0001.bin>
More information about the pyngl-talk
mailing list