You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Varying transparency levels for plot, plot3d and text #615
#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
Record by record transparency has been added to plot at #626, and also plot3d at #471, so what's left is just adding it to text?
On a side note, we might want to add a test for grdimage with transparency. I'm getting this error on PyGMT v0.2.1, GMT6.2.0_92c5676_2020.11.10 with ghostscript 9.53.3:
Record by record transparency has been added to plot at #626, and also plot3d at #471, so what's left is just adding it to text?
Yes, I think I already have a local branch for the text transparency. Will check if it works as expected and submit it later.
On a side note, we might want to add a test for grdimage with transparency. I'm getting this error on PyGMT v0.2.1, GMT 6.2.0_92c5676_2020.11.10 with ghostscript 9.53.3:
I can't reproduce your issue, using PyGMT v0.2.2.dev14+g1547ad41 + GMT 6.2.0_74efdca_2020.12.06 + Ghostscript 9.53.3 on macOS.
Yes, I think I already have a local branch for the text transparency. Will check if it works as expected and submit it later.
Great! No rush though, I was just searching for transparency examples and saw this issue was still open
On a side note, we might want to add a test for grdimage with transparency. I'm getting this error on PyGMT v0.2.1, GMT 6.2.0_92c5676_2020.11.10 with ghostscript 9.53.3:
I can't reproduce your issue, using PyGMT v0.2.2.dev14+g1547ad41 + GMT 6.2.0_74efdca_2020.12.06 + Ghostscript 9.53.3 on macOS.
Yeah, I might need to update my GMT dev version, can't reproduce this on try-gmt either :/ Maybe GenericMappingTools/gmt#4464 fixed this.
Activity
weiji14 commentedon Dec 6, 2020
Record by record transparency has been added to
plotat #626, and alsoplot3dat #471, so what's left is just adding it totext?On a side note, we might want to add a test for
grdimagewith transparency. I'm getting this error onPyGMTv0.2.1,GMT6.2.0_92c5676_2020.11.10 withghostscript9.53.3:Will submit a proper bug report once I can isolate the issue.
seisman commentedon Dec 6, 2020
Yes, I think I already have a local branch for the
texttransparency. Will check if it works as expected and submit it later.I can't reproduce your issue, using PyGMT
v0.2.2.dev14+g1547ad41+ GMT 6.2.0_74efdca_2020.12.06 + Ghostscript 9.53.3 on macOS.weiji14 commentedon Dec 6, 2020
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
try-gmteither :/ Maybe GenericMappingTools/gmt#4464 fixed this.