Skip to content
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

Remove axis lines and show legend size for scatter #31

Closed
msund opened this issue May 18, 2014 · 6 comments · Fixed by #64
Closed

Remove axis lines and show legend size for scatter #31

msund opened this issue May 18, 2014 · 6 comments · Fixed by #64

Comments

@msund
Copy link
Contributor

msund commented May 18, 2014

It would be sweet to remove the axis lines by default. I do that manually now after drawing the plot, but it'd be sweet to remove them by default.

It would also be cool to match the size of the markers and the legend size of the marker. It appears that the legend size defaults to 2 (maybe I'm wrong?) for a scatter series. To change, it, I go to traces > style > marker > and change it to eight, which changes it in the legend. It'd be cool to match the size on the plot and legend right out of the gate.

Ggplotly is most excellent. Thanks!

plotly

@chriddyp
Copy link
Member

+1 on the first issue. The attribute is "showline" in "layout".
See the first example here: http://plot.ly/r/axes/, and reference here: https://github.com/plotly/graph_reference/blob/master/graph_objs_meta.json#L2499-L2503

FYI the second issue (marker size) is from here: #25

@msund
Copy link
Contributor Author

msund commented Jul 9, 2014

Hey @xsaintmleux, any chance you'd want to take a pass at this one? Would be sweet to have these translate through.

@xsaintmleux
Copy link

I can take a look at that. I'm in the middle of a few other things but I can put this one on my list.

@xsaintmleux
Copy link

#64 fixes the axes lines

@xsaintmleux
Copy link

For now, the marker size in the legend is of a "reasonable" size (not tiny anymore.) We'll need to make other changes outside of the R API to support richer legends (there's an Asana task about that) so that we can have points of different sizes in the legend, e.g.
. 1
o 10
O 100

@msund
Copy link
Contributor Author

msund commented Jul 9, 2014

Sweet!

On Wed, Jul 9, 2014 at 3:33 PM, xsaintmleux notifications@github.com
wrote:

For now, the marker size in the legend is of a "reasonable" size (not tiny
anymore.) We'll need to make other changes outside of the R API to support
richer legends (there's an Asana task about that) so that we can have
points of different sizes in the legend, e.g.
. 1
o 10
O 100


Reply to this email directly or view it on GitHub
#31 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants