Skip to content

Commit

Permalink
Adjust plot sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
sdahdah committed Jan 21, 2022
1 parent fa29b77 commit 735f244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
'u': OKABE_ITO['bluish green'],
}
# Global Matplotlib settings
plt.rc('figure', figsize=(8, 4.5))
plt.rc('figure', figsize=(8, 4))
if matplotlib.checkdep_usetex(True): # Use LaTeX only if available
plt.rc('text', usetex=True)
plt.rc('font', family='serif', size=12)
Expand Down Expand Up @@ -1050,7 +1050,7 @@ def soft_robot_scatter_by_method(dependencies: List[pathlib.Path],
ax.set_xlabel('Regression method')
ax.set_ylabel('RMS Euclidean error (cm)')
# Set limits and ticks
ax.set_ylim(0, 1.4)
ax.set_ylim(0, 1.6)
ax.set_xlim(-0.5, 3.5)
ax.set_xticks(x)
ax.set_xticklabels([errors.columns[i] for i in range(len(x))])
Expand Down

0 comments on commit 735f244

Please sign in to comment.