Skip to content

Commit 8036850

Browse files
committed
Make a couple of changes to reduce file size of converted notebooks
1 parent e6925d5 commit 8036850

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

notebooks/01-03-Construction-of-an-artificial-but-realistic-image.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"metadata": {},
8484
"outputs": [],
8585
"source": [
86-
"synthetic_image = np.zeros([2000, 2000])"
86+
"synthetic_image = np.zeros([1000, 1000])"
8787
]
8888
},
8989
{
@@ -647,7 +647,7 @@
647647
"name": "python",
648648
"nbconvert_exporter": "python",
649649
"pygments_lexer": "ipython3",
650-
"version": "3.6.8"
650+
"version": "3.7.3"
651651
}
652652
},
653653
"nbformat": 4,

notebooks/08-02-Creating-a-mask.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@
198198
"metadata": {},
199199
"outputs": [],
200200
"source": [
201-
"fig, axes = plt.subplots(1, 2, figsize=(40, 20))\n",
201+
"fig, axes = plt.subplots(1, 2, figsize=(20, 10))\n",
202202
"\n",
203203
"show_image(ratio, cmap='gray', fig=fig, ax=axes[0], show_colorbar=False)\n",
204204
"axes[0].set_title('Ratio of two flats')\n",
205205
"\n",
206-
"show_image(maskr, cmap='gray', fig=fig, ax=axes[1], show_colorbar=False)\n",
206+
"show_image(maskr, cmap='gray', fig=fig, ax=axes[1], show_colorbar=False, percl=99.95)\n",
207207
"axes[1].set_title('Derived mask')"
208208
]
209209
},

notebooks/guide.mplstyle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ ytick.labelsize : 16
77
legend.fontsize: xx-large
88

99
figure.figsize : 10.0, 10.0
10-
figure.dpi : 200
10+
figure.dpi : 100

0 commit comments

Comments
 (0)