Skip to content

Commit fda7f37

Browse files
authored
Update Readme.md to consider new argument names
Changed the `xvals` argument to `vals` to reflect the changes made in commit e853d34
1 parent ef52007 commit fda7f37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ for a in A:
4747
ax.plot(X, loglaplace(4).pdf(a * X), label=str(a))
4848

4949
xvals = [0.8, 0.55, 0.22, 0.104, 0.045]
50-
labelLines(ax.get_lines(), align=False, xvals=xvals, color="k")
50+
labelLines(ax.get_lines(), align=False, vals=xvals, color="k")
5151

5252
ax = axes[3]
5353
for a in A:
@@ -77,7 +77,7 @@ ax = axes[5]
7777
for a in A:
7878
ax.semilogx(X, chi2(5).pdf(a * X), label=str(a))
7979

80-
labelLines(ax.get_lines(), xvals=(0.1, 1), zorder=2.5)
80+
labelLines(ax.get_lines(), vals=(0.1, 1), zorder=2.5)
8181

8282
fig.show()
8383
```

0 commit comments

Comments
 (0)