From 43a7b061cb5a930456afa3c52481a44532bd2902 Mon Sep 17 00:00:00 2001 From: KoT17 Date: Sun, 2 Jun 2024 12:31:25 -0400 Subject: [PATCH] Update out of date import for file writes --- AS1001_SDSSEPO.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AS1001_SDSSEPO.ipynb b/AS1001_SDSSEPO.ipynb index 9aed5c6..6644936 100644 --- a/AS1001_SDSSEPO.ipynb +++ b/AS1001_SDSSEPO.ipynb @@ -63,7 +63,7 @@ "\n", "# Import other libraries for use in this notebook.\n", "import numpy as np # standard Python lib for math ops\n", - "from scipy.misc import imsave # save images as files\n", + "from imageio import imwrite # save images as files\n", "import pandas # data manipulation package\n", "import matplotlib.pyplot as plt # another graphing package\n", "import os # manage local files in your Compute containers\n", @@ -75,7 +75,7 @@ "\n", "# Apply some special settings to the imported libraries\n", "# ensure columns get written completely in notebook\n", - "pandas.set_option('display.max_colwidth', -1)\n", + "pandas.set_option('display.max_colwidth', None)\n", "# do *not* show python warnings \n", "import warnings\n", "warnings.filterwarnings('ignore')\n",