File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/text_labels_and_annotations Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 37
37
38
38
39
39
#################################################################
40
- # Chooses default sans-serif font
40
+ # Choose default sans-serif font
41
41
42
42
def print_text (text ):
43
43
fig , ax = plt .subplots (figsize = (6 , 1 ), facecolor = "#eefade" )
@@ -51,22 +51,22 @@ def print_text(text):
51
51
52
52
53
53
#################################################################
54
- # Chose sans-serif font and specify to it to "Nimbus Sans"
54
+ # Choose sans-serif font and specify to it to "Nimbus Sans"
55
55
56
56
plt .rcParams ["font.family" ] = "sans-serif"
57
57
plt .rcParams ["font.sans-serif" ] = ["Nimbus Sans" ]
58
58
print_text ("Hello World! 02" )
59
59
60
60
61
61
##################################################################
62
- # Chooses default monospace font
62
+ # Choose default monospace font
63
63
64
64
plt .rcParams ["font.family" ] = "monospace"
65
65
print_text ("Hello World! 03" )
66
66
67
67
68
68
###################################################################
69
- # Chose monospace font and specify to it to "FreeMono"
69
+ # Choose monospace font and specify to it to "FreeMono"
70
70
71
71
plt .rcParams ["font.family" ] = "monospace"
72
72
plt .rcParams ["font.monospace" ] = ["FreeMono" ]
You can’t perform that action at this time.
0 commit comments