Skip to content

Commit bddae0c

Browse files
Update getting-started.rst (#258)
Update plot_nyquist to new plotting argument since the old one does not work anymore.
1 parent 1025981 commit bddae0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/getting-started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ To easily visualize the fit, the :code:`plot_nyquist()` function can be handy.
205205
from impedance.visualization import plot_nyquist
206206
207207
fig, ax = plt.subplots()
208-
plot_nyquist(ax, Z, fmt='o')
209-
plot_nyquist(ax, Z_fit, fmt='-')
208+
plot_nyquist(Z, fmt='o', scale=10, ax=ax)
209+
plot_nyquist(Z_fit, fmt='-', scale=10, ax=ax)
210210
211211
plt.legend(['Data', 'Fit'])
212212
plt.show()

0 commit comments

Comments
 (0)