Hi
I am trying to resize my plotly plot generate in python using following method
$(window).resize(function() {
var divheight = $("#section").height();
var divwidth = $("#section").width();
var update = {
width:divwidth, // or any new width
height:divheight // " "
};
Plotly.relayout('section', update);
}).resize();
I am using am using range slider . When I try to resize my plot , using above method , the size of rangeslider remain unchanged . Can someone suggest what to change ?
Current layout structure :
layout=dict(
title='',
xaxis=dict(
rangeslider=dict()
)
)