problems with postscript backend

I've noticed two problems with the postscript backend with today's svn. Running the basemap examples and saving to an eps or ps file:

1) dotted lines (the meridians and parallels on the basemap) show up as solid

2) line and text colors are wrong - if a contour plot is created, any lines or text that are then plotted after that show up with the same color as the end of the colormap (blue for a red-->blue colormap).

I'll try to build a concise example that shows this later on today.

-Jeff

···

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...236...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg

Jeff Whitaker wrote:

I've noticed two problems with the postscript backend with today's svn. Running the basemap examples and saving to an eps or ps file:

1) dotted lines (the meridians and parallels on the basemap) show up as solid

2) line and text colors are wrong - if a contour plot is created, any lines or text that are then plotted after that show up with the same color as the end of the colormap (blue for a red-->blue colormap).

I'll try to build a concise example that shows this later on today.

-Jeff

contourf_demo.py illustrates these problems - just run it and save the output to a postscript file.

-Jeff

···

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...236...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg

This is fixed as of svn 2202.

However, the transform is not being passed to draw_lines, and so the method
works as if the old API were being used. Is this a bug? Shouldn't the
transform be provided to draw_lines when using the new API?

···

On Tuesday 21 March 2006 15:43, Jeff Whitaker wrote:

Jeff Whitaker wrote:
> I've noticed two problems with the postscript backend with today's
> svn. Running the basemap examples and saving to an eps or ps file:
>
> 1) dotted lines (the meridians and parallels on the basemap) show up
> as solid
>
> 2) line and text colors are wrong - if a contour plot is created, any
> lines or text that are then plotted after that show up with the same
> color as the end of the colormap (blue for a red-->blue colormap).
>
> I'll try to build a concise example that shows this later on today.
>
> -Jeff

contourf_demo.py illustrates these problems - just run it and save the
output to a postscript file.

Darren Dale wrote:

···

On Tuesday 21 March 2006 15:43, Jeff Whitaker wrote:
  

Jeff Whitaker wrote:
    

I've noticed two problems with the postscript backend with today's
svn. Running the basemap examples and saving to an eps or ps file:

1) dotted lines (the meridians and parallels on the basemap) show up
as solid

2) line and text colors are wrong - if a contour plot is created, any
lines or text that are then plotted after that show up with the same
color as the end of the colormap (blue for a red-->blue colormap).

I'll try to build a concise example that shows this later on today.

-Jeff
      

contourf_demo.py illustrates these problems - just run it and save the
output to a postscript file.
    
This is fixed as of svn 2202.

Darren:

contourf_demo.py still produces the same postscript output for me with svn 2202 (title shows up in red text and the dashed contours are munged).

-Jeff

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...236...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg

It looks fine on my system.

···

On Tuesday 21 March 2006 17:25, Jeff Whitaker wrote:

Darren Dale wrote:
> On Tuesday 21 March 2006 15:43, Jeff Whitaker wrote:
>> Jeff Whitaker wrote:
>>> I've noticed two problems with the postscript backend with today's
>>> svn. Running the basemap examples and saving to an eps or ps file:
>>>
>>> 1) dotted lines (the meridians and parallels on the basemap) show up
>>> as solid
>>>
>>> 2) line and text colors are wrong - if a contour plot is created, any
>>> lines or text that are then plotted after that show up with the same
>>> color as the end of the colormap (blue for a red-->blue colormap).
>>>
>>> I'll try to build a concise example that shows this later on today.
>>>
>>> -Jeff
>>
>> contourf_demo.py illustrates these problems - just run it and save the
>> output to a postscript file.
>
> This is fixed as of svn 2202.

Darren:

contourf_demo.py still produces the same postscript output for me with
svn 2202 (title shows up in red text and the dashed contours are munged).

Darren Dale wrote:

···

On Tuesday 21 March 2006 17:25, Jeff Whitaker wrote:
  

Darren Dale wrote:
    

On Tuesday 21 March 2006 15:43, Jeff Whitaker wrote:
      

Jeff Whitaker wrote:
        

I've noticed two problems with the postscript backend with today's
svn. Running the basemap examples and saving to an eps or ps file:

1) dotted lines (the meridians and parallels on the basemap) show up
as solid

2) line and text colors are wrong - if a contour plot is created, any
lines or text that are then plotted after that show up with the same
color as the end of the colormap (blue for a red-->blue colormap).

I'll try to build a concise example that shows this later on today.

-Jeff
          

contourf_demo.py illustrates these problems - just run it and save the
output to a postscript file.
        

This is fixed as of svn 2202.
      

Darren:

contourf_demo.py still produces the same postscript output for me with
svn 2202 (title shows up in red text and the dashed contours are munged).
    
It looks fine on my system.
  

You're right - my bad. I was looking at the old postscript file, the new one is indeed fine. Thanks Darren.

-Jeff

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...236...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg