Skip to content

Commit

Permalink
Use datalim when changing aspect (#2032)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahartikainen authored May 18, 2022
1 parent 722006c commit f4a8d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arviz/plots/backends/matplotlib/dotplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def plot_dot(
else:
ax.tick_params(left=False, labelleft=False)

ax.set_aspect("equal", adjustable="box")
ax.set_aspect("equal", adjustable="datalim")
ax.autoscale()

if backend_show(show):
Expand Down

0 comments on commit f4a8d66

Please sign in to comment.