make jupyter notebook example snippets easier to copy
right now the jupyter notebooks sometimes import libaries at the top and use them in the bottom. it would be nicer for copy-pasting and readability of the examples if every block would import all libs necessary. (as suggested by @mrodzis )