-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Varying transparency levels for plot, plot3d and text #615
Comments
Record by record transparency has been added to On a side note, we might want to add a test for fig = pygmt.Figure()
fig.grdimage(grid="@earth_relief_01d", transparency=70)
fig.show() GMTCLibError: Module 'psconvert' failed with status code 79:
psconvert [ERROR]: System call [gs -q -dNOPAUSE -dBATCH -dNOSAFER -dPDFSETTINGS=/prepress -dDownsampleColorImages=false -dDownsampleGrayImages=false -dDownsampleMonoImages=false -dUseFlateCompression=true -dEmbedAllFonts=true -dSubsetFonts=true -dMonoImageFilter=/FlateEncode -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dSCANCONVERTERTYPE=2 -dALLOWPSTRANSPARENCY -dMaxBitmap=2147483647 -dUseFastColor=true -dGraphicsAlphaBits=1 -dTextAlphaBits=1 -sDEVICE=pdfwrite -g1772x886 -r300 -sOutputFile='/home/user/.gmt/sessions/gmt_session.62321/gmt_13_intermediate.pdf' '/home/user/.gmt/sessions/gmt_session.62321/psconvert_62321d.eps'] returned error 256.
Will submit a proper bug report once I can isolate the issue. |
Yes, I think I already have a local branch for the
I can't reproduce your issue, using PyGMT |
Great! No rush though, I was just searching for transparency examples and saw this issue was still open
Yeah, I might need to update my GMT dev version, can't reproduce this on |
Description of the desired feature
#614 added the
transparency
argument to all plotting functions. In most functions,transparency
can be an int/float value in 0-100. For a few functions (plot, plot3d and text), transparency can be a list to have varying transparency for symbols and texts.We should extend these functions to support the varying transparency feature.
Are you willing to help implement and maintain this feature? Yes
The text was updated successfully, but these errors were encountered: