Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d7efff

Browse files
authored
Fix PEP8 error
1 parent 7b7f36d commit 5d7efff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/text_labels_and_annotations/usetex_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
xytext=(delta / 2., 0.1), textcoords='data',
3030
arrowprops=dict(arrowstyle="<->", connectionstyle="arc3"))
3131
plt.text(0, 0.1, r'$\delta$',
32-
{'color': 'k', 'fontsize': 24, 'ha' : 'center', 'va' : 'center',
33-
'bbox' : dict(boxstyle="round", fc="w", ec="k", pad=0.2)})
32+
{'color': 'k', 'fontsize': 24, 'ha': 'center', 'va': 'center',
33+
'bbox': dict(boxstyle="round", fc="w", ec="k", pad=0.2)})
3434

3535
# Use tex in labels
3636
plt.xticks((-1, 0, 1), ('$-1$', r'$\pm 0$', '$+1$'), color='k', size=20)

0 commit comments

Comments
 (0)