Skip to content

Commit 9feebf2

Browse files
committed
windows-latest matplotlib
1 parent 8543a81 commit 9feebf2

File tree

1 file changed

+37
-13
lines changed

1 file changed

+37
-13
lines changed

tests/notebooks/config_InlineBackend.ipynb

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,60 @@
33
{
44
"cell_type": "code",
55
"execution_count": 1,
6-
"id": "e4221445-5518-4984-b731-aaf9840141d8",
6+
"id": "c235d5cb-9181-4579-855c-b7da77261bd7",
77
"metadata": {},
88
"outputs": [
99
{
1010
"name": "stderr",
1111
"output_type": "stream",
1212
"text": [
13-
"TODO: Probably need --nbval-current-env\n"
13+
"TODO1: Probably need --nbval-current-env\n",
14+
"TODO2: Probably need --nbval-current-env\n"
1415
]
1516
}
1617
],
1718
"source": [
19+
"#NBVAL_IGNORE_OUTPUT\n",
20+
"import sys\n",
21+
"print(\"TODO1: Probably need --nbval-current-env\", file=sys.stderr)\n",
22+
"# Matplotlib is building the font cache; this may take a moment.\n",
1823
"%matplotlib inline\n",
24+
"print(\"TODO2: Probably need --nbval-current-env\", file=sys.stderr)"
25+
]
26+
},
27+
{
28+
"cell_type": "code",
29+
"execution_count": 2,
30+
"id": "e4221445-5518-4984-b731-aaf9840141d8",
31+
"metadata": {},
32+
"outputs": [
33+
{
34+
"name": "stderr",
35+
"output_type": "stream",
36+
"text": [
37+
"TODO3: Probably need --nbval-current-env\n",
38+
"TODO4: Probably need --nbval-current-env\n",
39+
"TODO5: Probably need --nbval-current-env\n"
40+
]
41+
}
42+
],
43+
"source": [
1944
"%config InlineBackend.figure_formats = 'jpeg'\n",
2045
"%config InlineBackend.print_figure_kwargs = \\\n",
2146
" {'bbox_inches': None, \\\n",
2247
" 'pil_kwargs': {'quality' : 90, \\\n",
2348
" 'optimize': True}}\n",
24-
"\n",
49+
"print(\"TODO3: Probably need --nbval-current-env\", file=sys.stderr)\n",
2550
"import matplotlib.pyplot as plt\n",
51+
"print(\"TODO4: Probably need --nbval-current-env\", file=sys.stderr)\n",
2652
"from matplotlib_inline.backend_inline import set_matplotlib_formats\n",
27-
"from traitlets.config import get_config\n",
28-
"\n",
29-
"import sys\n",
30-
"print(\"TODO: Probably need --nbval-current-env\", file=sys.stderr)"
53+
"print(\"TODO5: Probably need --nbval-current-env\", file=sys.stderr)\n",
54+
"from traitlets.config import get_config"
3155
]
3256
},
3357
{
3458
"cell_type": "code",
35-
"execution_count": 2,
59+
"execution_count": 3,
3660
"id": "0e5b8951-19af-4273-80ca-23b47476d637",
3761
"metadata": {},
3862
"outputs": [
@@ -85,7 +109,7 @@
85109
},
86110
{
87111
"cell_type": "code",
88-
"execution_count": 3,
112+
"execution_count": 4,
89113
"id": "89f6de76-9d6b-43c0-b790-e6b63c4c4159",
90114
"metadata": {},
91115
"outputs": [
@@ -109,7 +133,7 @@
109133
},
110134
{
111135
"cell_type": "code",
112-
"execution_count": 4,
136+
"execution_count": 5,
113137
"id": "1fc45e92-07c2-49fa-9b3e-2c30e865e5e8",
114138
"metadata": {},
115139
"outputs": [
@@ -120,7 +144,7 @@
120144
"<Figure size 640x480 with 1 Axes>"
121145
]
122146
},
123-
"execution_count": 4,
147+
"execution_count": 5,
124148
"metadata": {},
125149
"output_type": "execute_result"
126150
}
@@ -133,7 +157,7 @@
133157
},
134158
{
135159
"cell_type": "code",
136-
"execution_count": 5,
160+
"execution_count": 6,
137161
"id": "df3590be-d87d-4c37-8f73-c652eec9a640",
138162
"metadata": {},
139163
"outputs": [
@@ -145,7 +169,7 @@
145169
" 'print_figure_kwargs': {'bbox_inches': None, 'pil_kwargs': {'quality': 90}}}}"
146170
]
147171
},
148-
"execution_count": 5,
172+
"execution_count": 6,
149173
"metadata": {},
150174
"output_type": "execute_result"
151175
}

0 commit comments

Comments
 (0)