Plotly Community Forum
API to get current plot area width & height
plotly.js
AIMPED
March 21, 2023, 10:38am
4
Subtracting the margins should work, I think
1 Like
Get the height/width of JUST the plot portion of the chart, not entire chart
show post in topic
Related topics
Topic
Replies
Views
Activity
Get the height/width of JUST the plot portion of the chart, not entire chart
📊 Plotly Python
3
593
March 21, 2023
Get graph width and height in pixels within callback
Dash Python
0
460
February 16, 2021
Get Figure Size
📊 Plotly Python
1
597
July 26, 2024
Get x and y tick values
📊 Plotly Python
3
600
December 22, 2023
Pixel dimensions of paper coordinates
📊 Plotly Python
5
1332
March 9, 2023