Closed
Description
Hello,
When trying to plot (fig.plot()) rectangles, basically nothing happens..^^
Following code -- with squres -- works:
fig = pygmt.Figure()
fig.coast(region=[0, 26, 44, 62], projection='S13/90/6i', frame="ag", shorelines="0.3p,black", borders="1/0.5p,black")
fig.plot(10, 50, style='s1')
fig.show()
This should do the exact same thing, shouldn't it?:
fig = pygmt.Figure()
fig.coast(region=[0, 26, 44, 62], projection='S13/90/6i', frame="ag", shorelines="0.3p,black", borders="1/0.5p,black")
fig.plot(10, 50, style='r1/1')
fig.show()
Problem: No rectangle is drawn. Alterations fomo the style command like 'r1', 'r1,1', 'r1c', 'r1c/1c' etc. neither work.
Problem 2: Substituting r by R for a rounded rectangle produces an error:
Module 'psconvert' failed with status code 78:
psconvert [ERROR]: System call [gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=bbox -DPSL_no_pagefill -dMaxBitmap=2147483647 -dUseFastColor=true '/home/schroeder/.gmt/sessions/gmt6.20169/gmt_124.ps-' 2> '/home/schroeder/.gmt/sessions/gmt6.20169/psconvert_20169c.bb'] returned error 256.
I'm not sure whether this is actually a bug or just my own lack of knowledge.
Thanks in advance,
Stefan