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

Skip to content

Commit e0d05cf

Browse files
authored
correct typo
1 parent 9537906 commit e0d05cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/text_labels_and_annotations/font_family_rc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838

3939
#################################################################
40-
# Chooses default sans-serif font
40+
# Choose default sans-serif font
4141

4242
def print_text(text):
4343
fig, ax = plt.subplots(figsize=(6, 1), facecolor="#eefade")
@@ -51,22 +51,22 @@ def print_text(text):
5151

5252

5353
#################################################################
54-
# Chose sans-serif font and specify to it to "Nimbus Sans"
54+
# Choose sans-serif font and specify to it to "Nimbus Sans"
5555

5656
plt.rcParams["font.family"] = "sans-serif"
5757
plt.rcParams["font.sans-serif"] = ["Nimbus Sans"]
5858
print_text("Hello World! 02")
5959

6060

6161
##################################################################
62-
# Chooses default monospace font
62+
# Choose default monospace font
6363

6464
plt.rcParams["font.family"] = "monospace"
6565
print_text("Hello World! 03")
6666

6767

6868
###################################################################
69-
# Chose monospace font and specify to it to "FreeMono"
69+
# Choose monospace font and specify to it to "FreeMono"
7070

7171
plt.rcParams["font.family"] = "monospace"
7272
plt.rcParams["font.monospace"] = ["FreeMono"]

0 commit comments

Comments
 (0)