Skip to content

Commit

Permalink
make pypi readme python 2.7 friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
swharden committed Nov 29, 2018
1 parent 14899cb commit 195dcb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Quickstart
plt.figure(figsize=(8, 5))
for sweepNumber in range(abf.sweepCount)[::5]:
abf.setSweep(sweepNumber)
plt.plot(abf.sweepX,abf.sweepY,alpha=.5,label=f"sweep {sweepNumber+1}")
plt.plot(abf.sweepX,abf.sweepY,alpha=.5,label="sweep {%d+1}"%(sweepNumber))
plt.margins(0, .1)
plt.legend()
Expand Down

0 comments on commit 195dcb0

Please sign in to comment.