Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width50%
Info
titleParameters to check

Useful Text parameters

text_lines

text_font_size
text_colour
text_font_style

 

 

Code Block
themeConfluence
languagepython
titlePython - Adding a text
collapsetrue
from Magics.macro import *
#setting the output 
output = output(    
                output_formats = ['png'],
                output_name = "map_step8",
                output_name_first_page_number = "off"
        )

             
#---------------------------------------
# definition of the previous layers 
# ...
# ...
#---------------------------------------
#definition of the text
title = mtext(text_lines=['Sandy', '30th of October 2012'],
            text_font_size = 0.8,
            text_colour= "charcoal",
            text_font_style='bold',
        )
plot(output, area, coast, precip, shading, msl, contour, new_york, point, xsection, line, legend, title)
Column
width200px

 

 

Go to the next step...

Go back to the main page ...