Open mayank7j-shell opened 3 months ago
You are drawing 20 rows with titles with margin.
20 times 0.05 is 1, so you are asking the library to spend all the vertical space on margin alone.
What should be correct behavior here? I would personally throw an exception "Cannot satisfy requirements" or similar and give up.
Here's what I see when I take the margin=0.05 out:
The titles are still incorrectly positioned, but it gives me some idea about what you are asking for.
Description:
When attempting to display multiple histograms using
subplot
from theplotly
package, the plots appear merged together, making them difficult to distinguish. This issue is primarily reproducible when there are large number of visualizations to plot together.Here is a minimal reprex for the same:
Expected Behavior: Each histogram should be clearly separated from the others, with appropriate spacing and labels visible.
Screenshot