Skip to content

Instantly share code, notes, and snippets.

View felix-weizman-deel's full-sized avatar
🎯
Focusing

Felix Weizman felix-weizman-deel

🎯
Focusing
View GitHub Profile
@DalyaG
DalyaG / my_first_cell_in_ipynb.py
Last active December 1, 2021 17:21
Copy paste this to your first cell in Jupyter Notebook to have wide cells, wide outputs, and inline plots.
from IPython.core.display import display, HTML
display(HTML("<style>.container { width:95% !important; }</style>"))
display(HTML("<style>.output_result { max-width:90% !important; }</style>"))
import numpy as np
np.set_printoptions(precision=3)
np.set_printoptions(linewidth=170)
np.set_printoptions(suppress=True)
np.random.seed(42)