-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Color and width problems for contour line plots in plotly #1218
Comments
This does appear to be a GR-related issue (@jheinen), though there are also bugs with the plotlyjs version (colorscale overlap and line widths) |
Also tagging @daschw who is an expert on the colorbar functionality :-) |
Hm, for me the example code on GR looks like this on master: |
the linewidth in GR should be fixed by #1221 |
It works for me on master now. Suddenly I doubt whether I remembered to check the GR version. Sweet fix, @daschw ! |
Let me redefine the issue. |
Thx, what's your opinion on the colorbar color @mkborregaard (GR vs PyPlot)? |
I think the plotly colorbar issue is a duplicate of #694 |
In this case PyPlot looks best, but generally I'd say it makes sense to show the colorbar for the latest plotted series? |
There's also still this issue with GR:
This is turning into one of those intractable issues, where it's unclear how it can be closed and what backend it refers to... |
Agreed. So actually we should change the PyPlot behavior? I think that the levels issue has something to do with the fact that |
🙏 |
the level issue can only be fixed with a new contour fill routine - should be available with the next GR release ... |
Dear all,
|
@ccmejia your issue seems unrelated to this issue. Can you open a new issue for that and provide an example that can be run? Yours has some undefined variables. |
Maybe related to upstream issue of plotly/plotly.js#5098 and plotly/plotly.js#5099 |
Hi,
I'm having some problems plotting contour line plots (
fill=false
) using the GR backend.MWE:
This gives:
This should first plot a filled contour using the turbid colorscale, then plot a line contour on top with the gray colorscale, with quite thick lines (w=10).
Instead the colorscale is only applied to the plot when
fill=true
, otherwise the colorscale request is ignored, and the default is used. Additionally the line width command is always ignored on these plots.(The same behavior occurs when only a line plot is made; the combination plot here is just to contrast the working and aberrant behavior.)
Version info:
GR 0.24.0
Plots 0.13.1
Julia 0.6.1
The text was updated successfully, but these errors were encountered: