Skip to content

Commit

Permalink
set the height of contour plots to 500 to make STM pics larger
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelWolloch committed Mar 14, 2024
1 parent 4a8602a commit dac38b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/py4vasp/_third_party/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def _set_yaxis_options(self, figure):
figure.layout.yaxis.visible = False
if self._any_are_contour():
figure.layout.yaxis.scaleanchor = "x"
figure.layout.height = 500

def _all_are_contour(self):
return all(isinstance(series, Contour) for series in self)
Expand Down

0 comments on commit dac38b9

Please sign in to comment.