Skip to content

Commit cb2354b

Browse files
committed
windows-latest check matplotlib.pyplot
1 parent a468a51 commit cb2354b

File tree

1 file changed

+10
-56
lines changed

1 file changed

+10
-56
lines changed

tests/notebooks/config_InlineBackend.ipynb

Lines changed: 10 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -5,78 +5,32 @@
55
"execution_count": 1,
66
"id": "c235d5cb-9181-4579-855c-b7da77261bd7",
77
"metadata": {},
8-
"outputs": [
9-
{
10-
"name": "stderr",
11-
"output_type": "stream",
12-
"text": [
13-
"TODO1: Probably need --nbval-current-env\n",
14-
"TODO2: Probably need --nbval-current-env\n"
15-
]
16-
}
17-
],
8+
"outputs": [],
189
"source": [
19-
"import sys\n",
20-
"print(\"TODO1: Probably need --nbval-current-env\", file=sys.stderr)\n",
21-
"# Matplotlib is building the font cache; this may take a moment.\n",
22-
"%matplotlib inline\n",
23-
"print(\"TODO2: Probably need --nbval-current-env\", file=sys.stderr)"
10+
"%matplotlib inline"
2411
]
2512
},
2613
{
2714
"cell_type": "code",
2815
"execution_count": 2,
29-
"id": "a4955642-7322-4a58-b483-167302ae582e",
30-
"metadata": {},
31-
"outputs": [
32-
{
33-
"data": {
34-
"text/plain": [
35-
"['matplotlib.pyplot']"
36-
]
37-
},
38-
"execution_count": 2,
39-
"metadata": {},
40-
"output_type": "execute_result"
41-
}
42-
],
43-
"source": [
44-
"[m for m in sys.modules if \"matplotlib.pypl\" in m]"
45-
]
46-
},
47-
{
48-
"cell_type": "code",
49-
"execution_count": 3,
5016
"id": "e4221445-5518-4984-b731-aaf9840141d8",
5117
"metadata": {},
52-
"outputs": [
53-
{
54-
"name": "stderr",
55-
"output_type": "stream",
56-
"text": [
57-
"TODO3: Probably need --nbval-current-env\n",
58-
"TODO4: Probably need --nbval-current-env\n",
59-
"TODO5: Probably need --nbval-current-env\n"
60-
]
61-
}
62-
],
18+
"outputs": [],
6319
"source": [
6420
"%config InlineBackend.figure_formats = 'jpeg'\n",
6521
"%config InlineBackend.print_figure_kwargs = \\\n",
6622
" {'bbox_inches': None, \\\n",
6723
" 'pil_kwargs': {'quality' : 90, \\\n",
6824
" 'optimize': True}}\n",
69-
"print(\"TODO3: Probably need --nbval-current-env\", file=sys.stderr)\n",
25+
"\n",
7026
"import matplotlib.pyplot as plt\n",
71-
"print(\"TODO4: Probably need --nbval-current-env\", file=sys.stderr)\n",
7227
"from matplotlib_inline.backend_inline import set_matplotlib_formats\n",
73-
"print(\"TODO5: Probably need --nbval-current-env\", file=sys.stderr)\n",
7428
"from traitlets.config import get_config"
7529
]
7630
},
7731
{
7832
"cell_type": "code",
79-
"execution_count": 4,
33+
"execution_count": 3,
8034
"id": "0e5b8951-19af-4273-80ca-23b47476d637",
8135
"metadata": {},
8236
"outputs": [
@@ -129,7 +83,7 @@
12983
},
13084
{
13185
"cell_type": "code",
132-
"execution_count": 5,
86+
"execution_count": 4,
13387
"id": "89f6de76-9d6b-43c0-b790-e6b63c4c4159",
13488
"metadata": {},
13589
"outputs": [
@@ -153,7 +107,7 @@
153107
},
154108
{
155109
"cell_type": "code",
156-
"execution_count": 6,
110+
"execution_count": 5,
157111
"id": "1fc45e92-07c2-49fa-9b3e-2c30e865e5e8",
158112
"metadata": {},
159113
"outputs": [
@@ -164,7 +118,7 @@
164118
"<Figure size 640x480 with 1 Axes>"
165119
]
166120
},
167-
"execution_count": 6,
121+
"execution_count": 5,
168122
"metadata": {},
169123
"output_type": "execute_result"
170124
}
@@ -177,7 +131,7 @@
177131
},
178132
{
179133
"cell_type": "code",
180-
"execution_count": 7,
134+
"execution_count": 6,
181135
"id": "df3590be-d87d-4c37-8f73-c652eec9a640",
182136
"metadata": {},
183137
"outputs": [
@@ -189,7 +143,7 @@
189143
" 'print_figure_kwargs': {'bbox_inches': None, 'pil_kwargs': {'quality': 90}}}}"
190144
]
191145
},
192-
"execution_count": 7,
146+
"execution_count": 6,
193147
"metadata": {},
194148
"output_type": "execute_result"
195149
}

0 commit comments

Comments
 (0)