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

Skip to content

Commit 3600209

Browse files
committed
PEP8 changes
Also removed the header line. Unnecessary for modern use.
1 parent aaa877c commit 3600209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/text_rotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
"""
32
The way matplotlib does text layout is counter-intuitive to some, so
43
this example is designed to make it a little clearer. The text is
@@ -18,6 +17,7 @@
1817
import matplotlib.pyplot as plt
1918
import numpy as np
2019

20+
2121
def addtext(props):
2222
plt.text(0.5, 0.5, 'text 0', props, rotation=0)
2323
plt.text(1.5, 0.5, 'text 45', props, rotation=45)

0 commit comments

Comments
 (0)