Make plot 100% width by removing empty spaces on left and right (screenshots)

My container (js-plotly-plot) already 100% width. But inside where data located big empty spaces.

How can I remove them, so plot will be visible in every place of Container.



I don’t want to be limited by this red rectangle.

Margin already 0
Width and height are not in settings (not in JSON), I need to adapt It for different screens, and don’t need particular size.


Or another question - how can I move plot WITH grid?

Fixed by removing tag <g class="clips"> from html (just with css or js).