Last active
March 30, 2019 12:12
-
-
Save emmagrimaldi/7ad7d4b1fb38625dc511a548538f13aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| annotations = [dict( | |
| # text I want to display. I used <br> to break it into two lines | |
| text = 'All US storm events that caused more than $50k of economic damage,<br> from 2000 until today', | |
| # font and border characteristics | |
| font = dict(color = '#FFFFFF', size = 14), borderpad = 10, | |
| # positional arguments | |
| x = 0.05, y = 0.05, xref = 'paper', yref = 'paper', align = 'left', | |
| # don't show arrow and set background color | |
| showarrow = False, bgcolor = 'black' | |
| )] | |
| # assigning the annotations to the layout | |
| layout['annotations'] = annotations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment