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 3737
3838
3939#################################################################
40- # Chooses default sans-serif font
40+ # Choose default sans-serif font
4141
4242def 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
5656plt .rcParams ["font.family" ] = "sans-serif"
5757plt .rcParams ["font.sans-serif" ] = ["Nimbus Sans" ]
5858print_text ("Hello World! 02" )
5959
6060
6161##################################################################
62- # Chooses default monospace font
62+ # Choose default monospace font
6363
6464plt .rcParams ["font.family" ] = "monospace"
6565print_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
7171plt .rcParams ["font.family" ] = "monospace"
7272plt .rcParams ["font.monospace" ] = ["FreeMono" ]
You can’t perform that action at this time.
0 commit comments