Skip to content

Commit

Permalink
Fix deprecated matplotlib signature (#1116)
Browse files Browse the repository at this point in the history
the variable name for `grid` was changed from `b` to `visible`, but passing positionally works for both older and newer mpl.

(renamed in mpl 3.5, usage of `b` expired in mpl 3.7)
  • Loading branch information
ksunden committed Mar 1, 2023
1 parent 07a17ec commit 4a4d54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WrightTools/artists/_interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def interact2D(
ylabel=yaxis.label,
xlabel=xaxis.label,
)
ax0.grid(b=True)
ax0.grid(True)
# colorbar
ticks = norm_to_ticks(norm)
ticklabels = gen_ticklabels(ticks, channel.signed)
Expand Down

0 comments on commit 4a4d54d

Please sign in to comment.