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

Add legend title in TADA_GroupedScatterPlot #508

Open
wokenny13 opened this issue Aug 7, 2024 · 3 comments
Open

Add legend title in TADA_GroupedScatterPlot #508

wokenny13 opened this issue Aug 7, 2024 · 3 comments
Assignees
Labels
Future Improvement Minimum viable function complete, issue includes potential future improvements Good First Issue Good issue for first time contributors

Comments

@wokenny13
Copy link
Collaborator

Add a legend title for TADA_GroupedScatterPlot

Describe the solution you'd like:

For specifying what groups to plot on the figure, sometimes it could be unclear what groups are being plotted, such as for CountyCode. Adding a legend title would assist those who view the graph to understand what is being plotted.

@wokenny13 wokenny13 self-assigned this Aug 7, 2024
@wokenny13 wokenny13 added Future Improvement Minimum viable function complete, issue includes potential future improvements Good First Issue Good issue for first time contributors labels Aug 7, 2024
@wokenny13
Copy link
Collaborator Author

Attempted to put a legend title in the plot, but it shows up to the left of the legend labels. Did try to spend some time to make it show above, but could not figure out. May be a simple item to address but is not urgent. Will comment the line of code out for now, but can be looked into if anyone wants to try to format it in the future.
legend = list( title = list(text = paste0('<b>', group_col,'<b>'), x = 0.5, y= 100), orientation = "h", xanchor = "center", x = 0.5 )
image

@hillarymarler
Copy link
Collaborator

@wokenny13 - can you link this to the branch you've been using to work on it?

@wokenny13
Copy link
Collaborator Author

wokenny13 commented Aug 15, 2024

#507 I believe I pushed that commit through with that small code update to this branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Future Improvement Minimum viable function complete, issue includes potential future improvements Good First Issue Good issue for first time contributors
Projects
None yet
Development

No branches or pull requests

2 participants