Rendre le cahier Jupyter plus large
from IPython.core.display import display, HTML
display(HTML("<style>.container { width:100% !important; }</style>"))
Precious Partridge
from IPython.core.display import display, HTML
display(HTML("<style>.container { width:100% !important; }</style>"))
from matplotlib import pyplot as plt
plt.rcParams['figure.figsize'] = [12, 8]
plt.rcParams['figure.dpi'] = 100 # 200 e.g. is really fine, but slower
library(repr)
# Change Jupyter plots size to 4 x 3
options(repr.plot.width=4, repr.plot.height=3)
from matplotlib import pyplot as plt
f, ax = plt.subplots(1, 1, figsize = (15, 10))
calmap.yearplot(events, year=2015, ax=ax)