Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Python/03_Image_Details.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,7 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"import gui\n",
"\n",
"gui.RegistrationPointDataAquisition(\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/04_Image_Display.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"source": [
"import SimpleITK as sitk\n",
"\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"import matplotlib.pyplot as plt\n",
"import gui\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/05_Results_Visualization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"\n",
"import numpy as np\n",
"import itertools\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/21_Transforms_and_Resampling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@
"outputs": [],
"source": [
"# Temporarily change the matplotlib back-end to enable mouse interaction\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"intensity_profiles_image = sitk.ReadImage(fdata(\"training_001_ct.mha\"))\n",
"point_gui = gui.PointDataAquisition(image=intensity_profiles_image);"
]
Expand Down
6 changes: 3 additions & 3 deletions Python/30_Segmentation_Region_Growing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"metadata": {},
"outputs": [],
"source": [
"# To use interactive plots (mouse clicks, zooming, panning) we use the notebook back end. We want our graphs\n",
"# to be embedded in the notebook, inline mode, this combination is defined by the magic \"%matplotlib widget\".\n",
"%matplotlib widget\n",
"# To use interactive plots (mouse clicks, zooming, panning) we use the ipympl back end. We want our graphs\n",
"# to be embedded in the notebook, inline mode, this combination is defined by the magic \"%matplotlib ipympl\".\n",
"%matplotlib ipympl\n",
"\n",
"import SimpleITK as sitk\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/33_Segmentation_Thresholding_Edge_Detection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"%run update_path_to_download_script\n",
"from downloaddata import fetch_data as fdata\n",
"\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"import gui\n",
"import matplotlib.pyplot as plt\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/35_Segmentation_Shape_Analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"import SimpleITK as sitk\n",
"import pandas as pd\n",
"\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import gui\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"import numpy as np\n",
"import pandas as pd\n",
"\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"import gui\n",
"\n",
"%run update_path_to_download_script\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/63_Registration_Initialization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"%run update_path_to_download_script\n",
"from downloaddata import fetch_data as fdata\n",
"\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"import gui\n",
"\n",
"\n",
Expand Down
6 changes: 3 additions & 3 deletions Python/67_Registration_Semiautomatic_Homework.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
"metadata": {},
"outputs": [],
"source": [
"# To use interactive plots (mouse clicks, zooming, panning) we use the notebook back end. We want our graphs\n",
"# to be embedded in the notebook, inline mode, this combination is defined by the magic \"%matplotlib widget\".\n",
"%matplotlib widget\n",
"# To use interactive plots (mouse clicks, zooming, panning) we use the ipympl back end. We want our graphs\n",
"# to be embedded in the notebook, inline mode, this combination is defined by the magic \"%matplotlib ipympl\".\n",
"%matplotlib ipympl\n",
"\n",
"import numpy as np\n",
"import SimpleITK as sitk\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/68_Registration_Errors.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"import numpy as np\n",
"import copy\n",
"\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"from gui import PairedPointDataManipulation, display_errors\n",
"import matplotlib.pyplot as plt\n",
"from registration_utilities import registration_errors"
Expand Down
2 changes: 1 addition & 1 deletion Python/69_x-ray-panorama.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"import os.path\n",
"import copy\n",
"\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"import gui\n",
"import matplotlib.pyplot as plt\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/70_Data_Augmentation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"import SimpleITK as sitk\n",
"import numpy as np\n",
"\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"import gui\n",
"\n",
"# utility method that either downloads data from the Girder repository or\n",
Expand Down
2 changes: 1 addition & 1 deletion Python/71_Trust_But_Verify.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"import hashlib\n",
"import tempfile\n",
"\n",
"%matplotlib widget\n",
"%matplotlib ipympl\n",
"import matplotlib.pyplot as plt\n",
"import ipywidgets as widgets\n",
"\n",
Expand Down
1 change: 1 addition & 0 deletions tests/additional_dictionary.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ipympl
ACM
ANTSNeighborhoodCorrelation
API
Expand Down