-
Notifications
You must be signed in to change notification settings - Fork 633
ggplot: line styles and width #132
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
Conversation
…otly into add-r-cookbook-tests git push was conflicting. Include Marianne's changes
Images can be find here: a6d3230. There's a lot of plots that don't look good, but they were fixed with the following commits: 529a277 and 563b0c4. Bottom line, the only image that changed is /cc @mkcor |
Looking good! Is it possible to see how the cookbook examples changed? |
If you wonder why |
Looking good! |
💃 |
Summary:
dotted
->dot
);line size
from ggplot2 toline width
in Plotly;dotted
line type - there's no such thing in Plotly; and,Line width default was
2
, that means when line size was not defined, an1
in ggplot2 was a2
in Plotly. Now when size was defined it had the same value in Plotly, when it should be 2x - a1.5
in ggplot2 should be a3
in Plotly.ggplot2: http://www.cookbook-r.com/Graphs/Bar_and_line_graphs_%28ggplot2%29/line-red-dotted-shape.png):
Plotly before: https://plot.ly/~pdespouy/1807
Plotly after: https://plot.ly/~pdespouy/1806