Skip to content

Commit c67838a

Browse files
committed
BF: Fix typo
1 parent aedc7fb commit c67838a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def plot_cbar(vmin=0, vmax=1, dp=2, cmap=None, label=None, labelsize=20,
180180

181181
# Define figure and axes
182182
fig = plt.figure(figsize=figsize)
183-
ax = fig.addax_es(rect)
183+
ax = fig.add_axes(rect)
184184

185185
# Create a normalised color range - this needs handling differently
186186
# depending on whether the colormap should be segmented or not

0 commit comments

Comments
 (0)