...
Section |
---|
Column |
---|
| Info |
---|
|
Useful Text parameters |
---|
text_lines | text_font_size | text_colour | text_font_style |
|
Code Block |
---|
theme | Confluence |
---|
language | python |
---|
title | Python - Adding a text |
---|
collapse | true |
---|
| 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 |
---|
| |
|
Go to the next step...
Go back to the main page ...