✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Access figure layout attributes

In the past (8-9 months ago), I was able to access figure layout attributes.

For example, I could access the range on the yaxis with:


Now this does not output anything.


It still works:

Mine doesn’t.
Also, width does not seem to do anything.


If I run fig instead of fig.show() then it works.
So, I guess there are a few issues with fig.show():

  • Does not allow one to retrieve attributes
  • width does not work
  • Figure width adjustment issue #1706