-
Notifications
You must be signed in to change notification settings - Fork 2
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
Scatter plot sizes #68
base: dev-202403
Are you sure you want to change the base?
Conversation
2fc4543
to
c4459a0
Compare
After the changes: Dendrogram aspect ratio is unaltered But scatter plot aspect ratio is more squat Previously: Scatter plot aspect ratio was much more slim, and the figures took up all of the 1800px height available in the component where they were placed. This meant that a lot of the information in the scatter plot was off-page when a user viewed the image. |
9b3ae07
to
936e2f5
Compare
936e2f5
to
1818e65
Compare
54d183d
to
f1cfb0d
Compare
I'm having some problems getting the figures to fit in their containers in the Imperial app @timbrock . The figures are generated using
The The According to the docs "When a girafe graphic is in a Shiny application, graphic will be resized according to the arguments width and height of the function girafeOutput. ..." The trouble I have here is that the aspect ratios aren't guaranteed. If a dendrogram contains loads of nodes it will be tall-and-slim, if it only contains a few it will be squat. Scatter plots, which are also presented in the same place are of fixed aspect ratio. |
Might this be useful? |
This sets the aspect ratio for scatter plots to be different from that for the dendrogram&heatmap images.
Previously the scatterplots would expand below the bottom of the browser window, despite having no need to be so large.