Skip to content

Commit

Permalink
Fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Camilla Pacifici committed Oct 30, 2024
1 parent 0a7b3ca commit 688fe62
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"from jdaviz import Cubeviz\n",
"\n",
"# Display the video\n",
"from IPython.display import HTML, YouTubeVideo"
"from IPython.display import YouTubeVideo"
]
},
{
Expand All @@ -123,10 +123,12 @@
"import pickle\n",
"\n",
"def save_obj(obj, name):\n",
" \n",
" with open(name, 'wb') as f:\n",
" pickle.dump(obj, f, pickle.HIGHEST_PROTOCOL)\n",
"\n",
"def load_obj(name):\n",
" \n",
" with open(name, 'rb') as f:\n",
" return pickle.load(f)"
]
Expand Down

0 comments on commit 688fe62

Please sign in to comment.