cakiki commited on
Commit
3203ed7
1 Parent(s): 1782cfd

Initial commit

Browse files
Files changed (4) hide show
  1. arxiv-downloads.ipynb +450 -0
  2. arxiv.html +85 -0
  3. index.html +0 -24
  4. style.css +0 -28
arxiv-downloads.ipynb ADDED
@@ -0,0 +1,450 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "id": "d6d749c0",
7
+ "metadata": {},
8
+ "outputs": [
9
+ {
10
+ "data": {
11
+ "text/html": [
12
+ "<style>.container { width:95% !important; }</style>"
13
+ ],
14
+ "text/plain": [
15
+ "<IPython.core.display.HTML object>"
16
+ ]
17
+ },
18
+ "metadata": {},
19
+ "output_type": "display_data"
20
+ }
21
+ ],
22
+ "source": [
23
+ "from IPython.core.display import display, HTML, Image\n",
24
+ "display(HTML(\"<style>.container { width:95% !important; }</style>\"))\n",
25
+ "%config IPCompleter.use_jedi=False"
26
+ ]
27
+ },
28
+ {
29
+ "cell_type": "code",
30
+ "execution_count": 52,
31
+ "id": "1c25e912",
32
+ "metadata": {},
33
+ "outputs": [
34
+ {
35
+ "data": {
36
+ "text/html": [
37
+ "\n",
38
+ " <div class=\"bk-root\">\n",
39
+ " <a href=\"https://bokeh.org\" target=\"_blank\" class=\"bk-logo bk-logo-small bk-logo-notebook\"></a>\n",
40
+ " <span id=\"12502\">Loading BokehJS ...</span>\n",
41
+ " </div>"
42
+ ]
43
+ },
44
+ "metadata": {},
45
+ "output_type": "display_data"
46
+ },
47
+ {
48
+ "data": {
49
+ "application/javascript": [
50
+ "\n",
51
+ "(function(root) {\n",
52
+ " function now() {\n",
53
+ " return new Date();\n",
54
+ " }\n",
55
+ "\n",
56
+ " const force = true;\n",
57
+ "\n",
58
+ " if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n",
59
+ " root._bokeh_onload_callbacks = [];\n",
60
+ " root._bokeh_is_loading = undefined;\n",
61
+ " }\n",
62
+ "\n",
63
+ " const JS_MIME_TYPE = 'application/javascript';\n",
64
+ " const HTML_MIME_TYPE = 'text/html';\n",
65
+ " const EXEC_MIME_TYPE = 'application/vnd.bokehjs_exec.v0+json';\n",
66
+ " const CLASS_NAME = 'output_bokeh rendered_html';\n",
67
+ "\n",
68
+ " /**\n",
69
+ " * Render data to the DOM node\n",
70
+ " */\n",
71
+ " function render(props, node) {\n",
72
+ " const script = document.createElement(\"script\");\n",
73
+ " node.appendChild(script);\n",
74
+ " }\n",
75
+ "\n",
76
+ " /**\n",
77
+ " * Handle when an output is cleared or removed\n",
78
+ " */\n",
79
+ " function handleClearOutput(event, handle) {\n",
80
+ " const cell = handle.cell;\n",
81
+ "\n",
82
+ " const id = cell.output_area._bokeh_element_id;\n",
83
+ " const server_id = cell.output_area._bokeh_server_id;\n",
84
+ " // Clean up Bokeh references\n",
85
+ " if (id != null && id in Bokeh.index) {\n",
86
+ " Bokeh.index[id].model.document.clear();\n",
87
+ " delete Bokeh.index[id];\n",
88
+ " }\n",
89
+ "\n",
90
+ " if (server_id !== undefined) {\n",
91
+ " // Clean up Bokeh references\n",
92
+ " const cmd_clean = \"from bokeh.io.state import curstate; print(curstate().uuid_to_server['\" + server_id + \"'].get_sessions()[0].document.roots[0]._id)\";\n",
93
+ " cell.notebook.kernel.execute(cmd_clean, {\n",
94
+ " iopub: {\n",
95
+ " output: function(msg) {\n",
96
+ " const id = msg.content.text.trim();\n",
97
+ " if (id in Bokeh.index) {\n",
98
+ " Bokeh.index[id].model.document.clear();\n",
99
+ " delete Bokeh.index[id];\n",
100
+ " }\n",
101
+ " }\n",
102
+ " }\n",
103
+ " });\n",
104
+ " // Destroy server and session\n",
105
+ " const cmd_destroy = \"import bokeh.io.notebook as ion; ion.destroy_server('\" + server_id + \"')\";\n",
106
+ " cell.notebook.kernel.execute(cmd_destroy);\n",
107
+ " }\n",
108
+ " }\n",
109
+ "\n",
110
+ " /**\n",
111
+ " * Handle when a new output is added\n",
112
+ " */\n",
113
+ " function handleAddOutput(event, handle) {\n",
114
+ " const output_area = handle.output_area;\n",
115
+ " const output = handle.output;\n",
116
+ "\n",
117
+ " // limit handleAddOutput to display_data with EXEC_MIME_TYPE content only\n",
118
+ " if ((output.output_type != \"display_data\") || (!Object.prototype.hasOwnProperty.call(output.data, EXEC_MIME_TYPE))) {\n",
119
+ " return\n",
120
+ " }\n",
121
+ "\n",
122
+ " const toinsert = output_area.element.find(\".\" + CLASS_NAME.split(' ')[0]);\n",
123
+ "\n",
124
+ " if (output.metadata[EXEC_MIME_TYPE][\"id\"] !== undefined) {\n",
125
+ " toinsert[toinsert.length - 1].firstChild.textContent = output.data[JS_MIME_TYPE];\n",
126
+ " // store reference to embed id on output_area\n",
127
+ " output_area._bokeh_element_id = output.metadata[EXEC_MIME_TYPE][\"id\"];\n",
128
+ " }\n",
129
+ " if (output.metadata[EXEC_MIME_TYPE][\"server_id\"] !== undefined) {\n",
130
+ " const bk_div = document.createElement(\"div\");\n",
131
+ " bk_div.innerHTML = output.data[HTML_MIME_TYPE];\n",
132
+ " const script_attrs = bk_div.children[0].attributes;\n",
133
+ " for (let i = 0; i < script_attrs.length; i++) {\n",
134
+ " toinsert[toinsert.length - 1].firstChild.setAttribute(script_attrs[i].name, script_attrs[i].value);\n",
135
+ " toinsert[toinsert.length - 1].firstChild.textContent = bk_div.children[0].textContent\n",
136
+ " }\n",
137
+ " // store reference to server id on output_area\n",
138
+ " output_area._bokeh_server_id = output.metadata[EXEC_MIME_TYPE][\"server_id\"];\n",
139
+ " }\n",
140
+ " }\n",
141
+ "\n",
142
+ " function register_renderer(events, OutputArea) {\n",
143
+ "\n",
144
+ " function append_mime(data, metadata, element) {\n",
145
+ " // create a DOM node to render to\n",
146
+ " const toinsert = this.create_output_subarea(\n",
147
+ " metadata,\n",
148
+ " CLASS_NAME,\n",
149
+ " EXEC_MIME_TYPE\n",
150
+ " );\n",
151
+ " this.keyboard_manager.register_events(toinsert);\n",
152
+ " // Render to node\n",
153
+ " const props = {data: data, metadata: metadata[EXEC_MIME_TYPE]};\n",
154
+ " render(props, toinsert[toinsert.length - 1]);\n",
155
+ " element.append(toinsert);\n",
156
+ " return toinsert\n",
157
+ " }\n",
158
+ "\n",
159
+ " /* Handle when an output is cleared or removed */\n",
160
+ " events.on('clear_output.CodeCell', handleClearOutput);\n",
161
+ " events.on('delete.Cell', handleClearOutput);\n",
162
+ "\n",
163
+ " /* Handle when a new output is added */\n",
164
+ " events.on('output_added.OutputArea', handleAddOutput);\n",
165
+ "\n",
166
+ " /**\n",
167
+ " * Register the mime type and append_mime function with output_area\n",
168
+ " */\n",
169
+ " OutputArea.prototype.register_mime_type(EXEC_MIME_TYPE, append_mime, {\n",
170
+ " /* Is output safe? */\n",
171
+ " safe: true,\n",
172
+ " /* Index of renderer in `output_area.display_order` */\n",
173
+ " index: 0\n",
174
+ " });\n",
175
+ " }\n",
176
+ "\n",
177
+ " // register the mime type if in Jupyter Notebook environment and previously unregistered\n",
178
+ " if (root.Jupyter !== undefined) {\n",
179
+ " const events = require('base/js/events');\n",
180
+ " const OutputArea = require('notebook/js/outputarea').OutputArea;\n",
181
+ "\n",
182
+ " if (OutputArea.prototype.mime_types().indexOf(EXEC_MIME_TYPE) == -1) {\n",
183
+ " register_renderer(events, OutputArea);\n",
184
+ " }\n",
185
+ " }\n",
186
+ "\n",
187
+ " \n",
188
+ " if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n",
189
+ " root._bokeh_timeout = Date.now() + 5000;\n",
190
+ " root._bokeh_failed_load = false;\n",
191
+ " }\n",
192
+ "\n",
193
+ " const NB_LOAD_WARNING = {'data': {'text/html':\n",
194
+ " \"<div style='background-color: #fdd'>\\n\"+\n",
195
+ " \"<p>\\n\"+\n",
196
+ " \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n",
197
+ " \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n",
198
+ " \"</p>\\n\"+\n",
199
+ " \"<ul>\\n\"+\n",
200
+ " \"<li>re-rerun `output_notebook()` to attempt to load from CDN again, or</li>\\n\"+\n",
201
+ " \"<li>use INLINE resources instead, as so:</li>\\n\"+\n",
202
+ " \"</ul>\\n\"+\n",
203
+ " \"<code>\\n\"+\n",
204
+ " \"from bokeh.resources import INLINE\\n\"+\n",
205
+ " \"output_notebook(resources=INLINE)\\n\"+\n",
206
+ " \"</code>\\n\"+\n",
207
+ " \"</div>\"}};\n",
208
+ "\n",
209
+ " function display_loaded() {\n",
210
+ " const el = document.getElementById(\"12502\");\n",
211
+ " if (el != null) {\n",
212
+ " el.textContent = \"BokehJS is loading...\";\n",
213
+ " }\n",
214
+ " if (root.Bokeh !== undefined) {\n",
215
+ " if (el != null) {\n",
216
+ " el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n",
217
+ " }\n",
218
+ " } else if (Date.now() < root._bokeh_timeout) {\n",
219
+ " setTimeout(display_loaded, 100)\n",
220
+ " }\n",
221
+ " }\n",
222
+ "\n",
223
+ "\n",
224
+ " function run_callbacks() {\n",
225
+ " try {\n",
226
+ " root._bokeh_onload_callbacks.forEach(function(callback) {\n",
227
+ " if (callback != null)\n",
228
+ " callback();\n",
229
+ " });\n",
230
+ " } finally {\n",
231
+ " delete root._bokeh_onload_callbacks\n",
232
+ " }\n",
233
+ " console.debug(\"Bokeh: all callbacks have finished\");\n",
234
+ " }\n",
235
+ "\n",
236
+ " function load_libs(css_urls, js_urls, callback) {\n",
237
+ " if (css_urls == null) css_urls = [];\n",
238
+ " if (js_urls == null) js_urls = [];\n",
239
+ "\n",
240
+ " root._bokeh_onload_callbacks.push(callback);\n",
241
+ " if (root._bokeh_is_loading > 0) {\n",
242
+ " console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n",
243
+ " return null;\n",
244
+ " }\n",
245
+ " if (js_urls == null || js_urls.length === 0) {\n",
246
+ " run_callbacks();\n",
247
+ " return null;\n",
248
+ " }\n",
249
+ " console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n",
250
+ " root._bokeh_is_loading = css_urls.length + js_urls.length;\n",
251
+ "\n",
252
+ " function on_load() {\n",
253
+ " root._bokeh_is_loading--;\n",
254
+ " if (root._bokeh_is_loading === 0) {\n",
255
+ " console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n",
256
+ " run_callbacks()\n",
257
+ " }\n",
258
+ " }\n",
259
+ "\n",
260
+ " function on_error(url) {\n",
261
+ " console.error(\"failed to load \" + url);\n",
262
+ " }\n",
263
+ "\n",
264
+ " for (let i = 0; i < css_urls.length; i++) {\n",
265
+ " const url = css_urls[i];\n",
266
+ " const element = document.createElement(\"link\");\n",
267
+ " element.onload = on_load;\n",
268
+ " element.onerror = on_error.bind(null, url);\n",
269
+ " element.rel = \"stylesheet\";\n",
270
+ " element.type = \"text/css\";\n",
271
+ " element.href = url;\n",
272
+ " console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n",
273
+ " document.body.appendChild(element);\n",
274
+ " }\n",
275
+ "\n",
276
+ " for (let i = 0; i < js_urls.length; i++) {\n",
277
+ " const url = js_urls[i];\n",
278
+ " const element = document.createElement('script');\n",
279
+ " element.onload = on_load;\n",
280
+ " element.onerror = on_error.bind(null, url);\n",
281
+ " element.async = false;\n",
282
+ " element.src = url;\n",
283
+ " console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n",
284
+ " document.head.appendChild(element);\n",
285
+ " }\n",
286
+ " };\n",
287
+ "\n",
288
+ " function inject_raw_css(css) {\n",
289
+ " const element = document.createElement(\"style\");\n",
290
+ " element.appendChild(document.createTextNode(css));\n",
291
+ " document.body.appendChild(element);\n",
292
+ " }\n",
293
+ "\n",
294
+ " \n",
295
+ " const js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-2.4.2.min.js\"];\n",
296
+ " const css_urls = [];\n",
297
+ " \n",
298
+ "\n",
299
+ " const inline_js = [\n",
300
+ " function(Bokeh) {\n",
301
+ " Bokeh.set_log_level(\"info\");\n",
302
+ " },\n",
303
+ " function(Bokeh) {\n",
304
+ " \n",
305
+ " \n",
306
+ " }\n",
307
+ " ];\n",
308
+ "\n",
309
+ " function run_inline_js() {\n",
310
+ " \n",
311
+ " if (root.Bokeh !== undefined || force === true) {\n",
312
+ " \n",
313
+ " for (let i = 0; i < inline_js.length; i++) {\n",
314
+ " inline_js[i].call(root, root.Bokeh);\n",
315
+ " }\n",
316
+ " if (force === true) {\n",
317
+ " display_loaded();\n",
318
+ " }} else if (Date.now() < root._bokeh_timeout) {\n",
319
+ " setTimeout(run_inline_js, 100);\n",
320
+ " } else if (!root._bokeh_failed_load) {\n",
321
+ " console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n",
322
+ " root._bokeh_failed_load = true;\n",
323
+ " } else if (force !== true) {\n",
324
+ " const cell = $(document.getElementById(\"12502\")).parents('.cell').data().cell;\n",
325
+ " cell.output_area.append_execute_result(NB_LOAD_WARNING)\n",
326
+ " }\n",
327
+ "\n",
328
+ " }\n",
329
+ "\n",
330
+ " if (root._bokeh_is_loading === 0) {\n",
331
+ " console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n",
332
+ " run_inline_js();\n",
333
+ " } else {\n",
334
+ " load_libs(css_urls, js_urls, function() {\n",
335
+ " console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n",
336
+ " run_inline_js();\n",
337
+ " });\n",
338
+ " }\n",
339
+ "}(window));"
340
+ ],
341
+ "application/vnd.bokehjs_load.v0+json": "\n(function(root) {\n function now() {\n return new Date();\n }\n\n const force = true;\n\n if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n root._bokeh_onload_callbacks = [];\n root._bokeh_is_loading = undefined;\n }\n\n \n\n \n if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n root._bokeh_timeout = Date.now() + 5000;\n root._bokeh_failed_load = false;\n }\n\n const NB_LOAD_WARNING = {'data': {'text/html':\n \"<div style='background-color: #fdd'>\\n\"+\n \"<p>\\n\"+\n \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n \"</p>\\n\"+\n \"<ul>\\n\"+\n \"<li>re-rerun `output_notebook()` to attempt to load from CDN again, or</li>\\n\"+\n \"<li>use INLINE resources instead, as so:</li>\\n\"+\n \"</ul>\\n\"+\n \"<code>\\n\"+\n \"from bokeh.resources import INLINE\\n\"+\n \"output_notebook(resources=INLINE)\\n\"+\n \"</code>\\n\"+\n \"</div>\"}};\n\n function display_loaded() {\n const el = document.getElementById(\"12502\");\n if (el != null) {\n el.textContent = \"BokehJS is loading...\";\n }\n if (root.Bokeh !== undefined) {\n if (el != null) {\n el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n }\n } else if (Date.now() < root._bokeh_timeout) {\n setTimeout(display_loaded, 100)\n }\n }\n\n\n function run_callbacks() {\n try {\n root._bokeh_onload_callbacks.forEach(function(callback) {\n if (callback != null)\n callback();\n });\n } finally {\n delete root._bokeh_onload_callbacks\n }\n console.debug(\"Bokeh: all callbacks have finished\");\n }\n\n function load_libs(css_urls, js_urls, callback) {\n if (css_urls == null) css_urls = [];\n if (js_urls == null) js_urls = [];\n\n root._bokeh_onload_callbacks.push(callback);\n if (root._bokeh_is_loading > 0) {\n console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n return null;\n }\n if (js_urls == null || js_urls.length === 0) {\n run_callbacks();\n return null;\n }\n console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n root._bokeh_is_loading = css_urls.length + js_urls.length;\n\n function on_load() {\n root._bokeh_is_loading--;\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n run_callbacks()\n }\n }\n\n function on_error(url) {\n console.error(\"failed to load \" + url);\n }\n\n for (let i = 0; i < css_urls.length; i++) {\n const url = css_urls[i];\n const element = document.createElement(\"link\");\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.rel = \"stylesheet\";\n element.type = \"text/css\";\n element.href = url;\n console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n document.body.appendChild(element);\n }\n\n for (let i = 0; i < js_urls.length; i++) {\n const url = js_urls[i];\n const element = document.createElement('script');\n element.onload = on_load;\n element.onerror = on_error.bind(null, url);\n element.async = false;\n element.src = url;\n console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n document.head.appendChild(element);\n }\n };\n\n function inject_raw_css(css) {\n const element = document.createElement(\"style\");\n element.appendChild(document.createTextNode(css));\n document.body.appendChild(element);\n }\n\n \n const js_urls = [\"https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-gl-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.4.2.min.js\", \"https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-2.4.2.min.js\"];\n const css_urls = [];\n \n\n const inline_js = [\n function(Bokeh) {\n Bokeh.set_log_level(\"info\");\n },\n function(Bokeh) {\n \n \n }\n ];\n\n function run_inline_js() {\n \n if (root.Bokeh !== undefined || force === true) {\n \n for (let i = 0; i < inline_js.length; i++) {\n inline_js[i].call(root, root.Bokeh);\n }\n if (force === true) {\n display_loaded();\n }} else if (Date.now() < root._bokeh_timeout) {\n setTimeout(run_inline_js, 100);\n } else if (!root._bokeh_failed_load) {\n console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n root._bokeh_failed_load = true;\n } else if (force !== true) {\n const cell = $(document.getElementById(\"12502\")).parents('.cell').data().cell;\n cell.output_area.append_execute_result(NB_LOAD_WARNING)\n }\n\n }\n\n if (root._bokeh_is_loading === 0) {\n console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n run_inline_js();\n } else {\n load_libs(css_urls, js_urls, function() {\n console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n run_inline_js();\n });\n }\n}(window));"
342
+ },
343
+ "metadata": {},
344
+ "output_type": "display_data"
345
+ }
346
+ ],
347
+ "source": [
348
+ "import numpy as np\n",
349
+ "import pandas as pd\n",
350
+ "from bokeh.layouts import column\n",
351
+ "from bokeh.models import ColumnDataSource, RangeTool, NumeralTickFormatter, HoverTool\n",
352
+ "from bokeh.plotting import figure, show, save\n",
353
+ "from bokeh.io import show, output_notebook\n",
354
+ "from bokeh.io import show, output_notebook\n",
355
+ "output_notebook()"
356
+ ]
357
+ },
358
+ {
359
+ "cell_type": "code",
360
+ "execution_count": 69,
361
+ "id": "e2d9c5f7",
362
+ "metadata": {},
363
+ "outputs": [
364
+ {
365
+ "data": {
366
+ "text/plain": [
367
+ "'/home/jovyan/work/notebooks/arxiv.html'"
368
+ ]
369
+ },
370
+ "execution_count": 69,
371
+ "metadata": {},
372
+ "output_type": "execute_result"
373
+ }
374
+ ],
375
+ "source": [
376
+ "arxiv = pd.read_csv('./get_monthly_downloads.csv')\n",
377
+ "dates = np.array(arxiv['month'], dtype=np.datetime64)\n",
378
+ "source = ColumnDataSource(data=dict(date=dates, downloads=arxiv['downloads'].values))\n",
379
+ "\n",
380
+ "p = figure(height=1000, width=1200, tools=\"xpan\", title='Monthly arXiv downloads since 1994', toolbar_location=None,\n",
381
+ " x_axis_type=\"datetime\", x_axis_location=\"above\", \n",
382
+ " background_fill_color=\"#efefef\", x_range=(dates[-50], dates[-1]))\n",
383
+ "p.line('date', 'downloads', source=source, line_width=2,)\n",
384
+ "p.circle('date', 'downloads', source=source, size=10)\n",
385
+ "\n",
386
+ "p.yaxis.axis_label = 'Monthly Downloads'\n",
387
+ "p.title.text_font_size = '12pt'\n",
388
+ "p.title.text_font_style = 'bold'\n",
389
+ "p.title.align = 'center'\n",
390
+ "p.yaxis.formatter = NumeralTickFormatter(format='0,0')\n",
391
+ "tooltips=[\n",
392
+ " ('date', '@date{%F}'),\n",
393
+ " ('downloads', '@downloads{0,0}')\n",
394
+ " \n",
395
+ "]\n",
396
+ "\n",
397
+ "formatters = {\n",
398
+ " '@date':'datetime',\n",
399
+ "}\n",
400
+ "\n",
401
+ "p.add_tools(HoverTool(tooltips=tooltips, formatters=formatters))\n",
402
+ "\n",
403
+ "select = figure(title=\"Drag the middle and edges of the selection box to change the range above\",\n",
404
+ " height=300, width=1200, y_range=p.y_range,\n",
405
+ " x_axis_type=\"datetime\", y_axis_type=None,\n",
406
+ " tools=\"\", toolbar_location=None, background_fill_color=\"#efefef\")\n",
407
+ "\n",
408
+ "range_tool = RangeTool(x_range=p.x_range)\n",
409
+ "range_tool.overlay.fill_color = \"red\"\n",
410
+ "range_tool.overlay.fill_alpha = 0.2\n",
411
+ "\n",
412
+ "select.line('date', 'downloads', source=source,line_width=2,)\n",
413
+ "select.ygrid.grid_line_color = None\n",
414
+ "select.add_tools(range_tool)\n",
415
+ "select.toolbar.active_multi = range_tool\n",
416
+ "\n",
417
+ "save(column(p, select), title='Monthly arXiv downloads since 1994', filename='./arxiv.html')"
418
+ ]
419
+ },
420
+ {
421
+ "cell_type": "code",
422
+ "execution_count": null,
423
+ "id": "53c83076",
424
+ "metadata": {},
425
+ "outputs": [],
426
+ "source": []
427
+ }
428
+ ],
429
+ "metadata": {
430
+ "kernelspec": {
431
+ "display_name": "Python 3 (ipykernel)",
432
+ "language": "python",
433
+ "name": "python3"
434
+ },
435
+ "language_info": {
436
+ "codemirror_mode": {
437
+ "name": "ipython",
438
+ "version": 3
439
+ },
440
+ "file_extension": ".py",
441
+ "mimetype": "text/x-python",
442
+ "name": "python",
443
+ "nbconvert_exporter": "python",
444
+ "pygments_lexer": "ipython3",
445
+ "version": "3.9.7"
446
+ }
447
+ },
448
+ "nbformat": 4,
449
+ "nbformat_minor": 5
450
+ }
arxiv.html ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+
8
+ <head>
9
+
10
+ <meta charset="utf-8">
11
+ <title>Monthly arXiv downloads since 1994</title>
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+ <script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js"></script>
20
+ <script type="text/javascript">
21
+ Bokeh.set_log_level("info");
22
+ </script>
23
+
24
+
25
+
26
+
27
+ </head>
28
+
29
+
30
+ <body>
31
+
32
+
33
+
34
+
35
+
36
+
37
+ <div class="bk-root" id="58c59d57-cc09-422a-9ab6-a56f8bbce992" data-root-id="18256"></div>
38
+
39
+
40
+
41
+
42
+
43
+ <script type="application/json" id="18738">
44
+ {"4358d29e-2545-4944-a6c1-bb1e4b8b5625":{"defs":[],"roots":{"references":[{"attributes":{"line_color":"#1f77b4","line_width":2,"x":{"field":"date"},"y":{"field":"downloads"}},"id":"18215","type":"Line"},{"attributes":{"coordinates":null,"data_source":{"id":"18191"},"glyph":{"id":"18221"},"group":null,"hover_glyph":null,"muted_glyph":{"id":"18223"},"nonselection_glyph":{"id":"18222"},"view":{"id":"18225"}},"id":"18224","type":"GlyphRenderer"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"18282","type":"AdaptiveTicker"},{"attributes":{"dimensions":"width"},"id":"18211","type":"PanTool"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"18271","type":"AdaptiveTicker"},{"attributes":{"align":"center","coordinates":null,"group":null,"text":"Monthly arXiv downloads since 1994","text_font_size":"12pt"},"id":"18193","type":"Title"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"18269"},{"id":"18270"},{"id":"18271"},{"id":"18272"},{"id":"18273"},{"id":"18274"},{"id":"18275"},{"id":"18276"},{"id":"18277"},{"id":"18278"},{"id":"18279"},{"id":"18280"}]},"id":"18204","type":"DatetimeTicker"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"18283","type":"AdaptiveTicker"},{"attributes":{"coordinates":null,"formatter":{"id":"18262"},"group":null,"major_label_policy":{"id":"18263"},"ticker":{"id":"18204"}},"id":"18203","type":"DatetimeAxis"},{"attributes":{},"id":"18199","type":"LinearScale"},{"attributes":{},"id":"18197","type":"DataRange1d"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"18289","type":"MonthsTicker"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"hatch_alpha":{"value":0.1},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"value":10},"x":{"field":"date"},"y":{"field":"downloads"}},"id":"18222","type":"Circle"},{"attributes":{"end":1638316800000.0,"start":1509494400000.0},"id":"18195","type":"Range1d"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"18284","type":"AdaptiveTicker"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":2,"x":{"field":"date"},"y":{"field":"downloads"}},"id":"18216","type":"Line"},{"attributes":{"data":{"date":{"__ndarray__":"AAAASfAKZkIAAIDt5B5mQgAAgC/rMGZCAAAA1N9EZkIAAACtL1hmQgAAgFEkbGZCAACAKnR/ZkIAAADPaJNmQgAAgHNdp2ZCAACATK26ZkIAAADxoc5mQgAAAMrx4WZCAACAbub1ZkIAAAAT2wlnQgAAAFXhG2dCAACA+dUvZ0IAAIDSJUNnQgAAAHcaV2dCAAAAUGpqZ0IAAID0Xn5nQgAAAJlTkmdCAAAAcqOlZ0IAAIAWmLlnQgAAgO/nzGdCAAAAlNzgZ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d0IAAAC7jM13QgAAgKc013dC","dtype":"float64","order":"little","shape":[336]},"downloads":[0,1863,7048,6814,9601,11007,9488,10789,12872,16260,22392,20070,24801,28607,35418,34109,35232,52415,68341,95848,114550,146524,151624,132908,160742,186528,193169,198175,221716,213072,230395,222063,251249,287532,263905,225928,250816,230357,239669,258302,267683,261706,270550,239698,287158,326150,296375,288487,321044,337514,407658,384583,409663,404232,412267,382223,444628,510790,537888,474617,508224,464452,511665,510014,536821,547141,544712,491688,568449,582934,665411,627284,640945,725616,751154,697884,785650,745325,728494,721467,724899,828870,925260,844998,935314,972075,1055737,1013386,1059624,902582,846039,865395,834963,969584,966553,1145430,1034782,982129,1175829,1321376,1423935,1236836,1348311,1270201,1516847,1675586,1515041,1343960,1588531,1572793,1711279,1620843,1703389,1601569,1586144,1504793,1820701,2117036,2033657,2119846,2109079,2293511,2221885,2100595,2301904,2036838,1986919,1997330,2191867,1927789,1978766,1767095,1804435,1803019,2068684,2251800,2136947,1951444,1852432,1852131,2120662,2346256,2406316,2360494,1701784,1737794,2298683,1997694,2214161,1801721,1401479,1629104,1768658,1982461,1930368,1663348,2029217,2066818,2134854,1979950,2224762,2224194,2051276,1822372,1998723,2446094,2531762,2159429,2665839,2557077,2848757,2810180,2958761,2706793,2730226,2450019,3278451,2937969,3066092,2638793,2598159,2644797,3104692,2837273,2877553,2792334,2667955,2538405,2907441,3167801,2912668,2723394,3116867,2992581,3459004,3292459,3293995,3335937,3098569,2879133,3144001,3684560,3829250,3775736,3439915,3339054,4117851,3659749,3997359,3707592,3771042,3774913,4973988,5563412,4962036,4433059,4796243,5078432,5516536,5423005,5067807,5073183,5624113,6040066,5372689,5904272,5373061,4549990,5665096,5136321,6121433,5552584,6184081,5033496,5251361,4985314,5319428,6146267,5953050,5464673,6701768,6175371,7371741,7207160,6814576,6650843,6934640,6368537,7129287,9150599,10771479,9877539,10211128,10375127,12826855,11289672,11182540,12568030,9585300,9180739,10741431,13882451,14200441,10286698,16227193,14547141,16144490,14330220,14042457,14344946,12885660,11795801,13958435,11202303,11492492,12136801,12150875,12870204,14319435,15628477,14894937,14372378,14808475,15915733,16999890,19433648,18885644,17361253,18445580,17704444,20149872,19709932,19710718,18088369,18132320,17906302,17418053,19443085,23040835,18694165,19281479,18464161,23035822,24714027,28369333,26431370,24649611,23253802,22675580,26477122,26854393,28106757,29444249,25985297,30286098,31218379,30300778,31206551,19829608,17697542,28471175,30226706,29911811,30014368,29637684,32439267,34910269,28886634,33829224,30476766,29629185,27613405,33231906,35609138,31854391,30505794]},"selected":{"id":"18268"},"selection_policy":{"id":"18267"}},"id":"18191","type":"ColumnDataSource"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"18286","type":"DaysTicker"},{"attributes":{"days":[1,15]},"id":"18288","type":"DaysTicker"},{"attributes":{"days":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]},"id":"18285","type":"DaysTicker"},{"attributes":{"children":[{"id":"18192"},{"id":"18230"}]},"id":"18256","type":"Column"},{"attributes":{"source":{"id":"18191"}},"id":"18219","type":"CDSView"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"18273","type":"DaysTicker"},{"attributes":{"days":[1,8,15,22]},"id":"18287","type":"DaysTicker"},{"attributes":{"line_alpha":0.2,"line_color":"#1f77b4","line_width":2,"x":{"field":"date"},"y":{"field":"downloads"}},"id":"18217","type":"Line"},{"attributes":{"months":[0,6]},"id":"18292","type":"MonthsTicker"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"18290","type":"MonthsTicker"},{"attributes":{"active_multi":{"id":"18245"},"tools":[{"id":"18245"}]},"id":"18244","type":"Toolbar"},{"attributes":{},"id":"18263","type":"AllLabels"},{"attributes":{"days":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]},"id":"18272","type":"DaysTicker"},{"attributes":{"fill_alpha":{"value":0.2},"fill_color":{"value":"#1f77b4"},"hatch_alpha":{"value":0.2},"line_alpha":{"value":0.2},"line_color":{"value":"#1f77b4"},"size":{"value":10},"x":{"field":"date"},"y":{"field":"downloads"}},"id":"18223","type":"Circle"},{"attributes":{"axis":{"id":"18207"},"coordinates":null,"dimension":1,"group":null,"ticker":null},"id":"18210","type":"Grid"},{"attributes":{},"id":"18293","type":"YearsTicker"},{"attributes":{"axis_label":"Monthly Downloads","coordinates":null,"formatter":{"id":"18226"},"group":null,"major_label_policy":{"id":"18260"},"ticker":{"id":"18208"}},"id":"18207","type":"LinearAxis"},{"attributes":{"months":[0,4,8]},"id":"18291","type":"MonthsTicker"},{"attributes":{},"id":"18265","type":"DatetimeTickFormatter"},{"attributes":{"coordinates":null,"fill_alpha":0.2,"fill_color":"red","group":null,"level":"overlay","line_alpha":1.0,"line_color":"black","line_dash":[2,2],"line_width":0.5,"syncable":false},"id":"18246","type":"BoxAnnotation"},{"attributes":{"axis":{"id":"18203"},"coordinates":null,"group":null,"ticker":null},"id":"18206","type":"Grid"},{"attributes":{"coordinates":null,"data_source":{"id":"18191"},"glyph":{"id":"18215"},"group":null,"hover_glyph":null,"muted_glyph":{"id":"18217"},"nonselection_glyph":{"id":"18216"},"view":{"id":"18219"}},"id":"18218","type":"GlyphRenderer"},{"attributes":{"days":[1,15]},"id":"18275","type":"DaysTicker"},{"attributes":{},"id":"18201","type":"LinearScale"},{"attributes":{"months":[0,6]},"id":"18279","type":"MonthsTicker"},{"attributes":{},"id":"18208","type":"BasicTicker"},{"attributes":{"overlay":{"id":"18246"},"x_range":{"id":"18195"},"y_range":null},"id":"18245","type":"RangeTool"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"18277","type":"MonthsTicker"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"18276","type":"MonthsTicker"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"18270","type":"AdaptiveTicker"},{"attributes":{},"id":"18236","type":"LinearScale"},{"attributes":{"background_fill_color":"#efefef","below":[{"id":"18240"}],"center":[{"id":"18243"}],"height":300,"renderers":[{"id":"18252"}],"title":{"id":"18231"},"toolbar":{"id":"18244"},"toolbar_location":null,"width":1200,"x_range":{"id":"18233"},"x_scale":{"id":"18236"},"y_range":{"id":"18197"},"y_scale":{"id":"18238"}},"id":"18230","subtype":"Figure","type":"Plot"},{"attributes":{"coordinates":null,"data_source":{"id":"18191"},"glyph":{"id":"18249"},"group":null,"hover_glyph":null,"muted_glyph":{"id":"18251"},"nonselection_glyph":{"id":"18250"},"view":{"id":"18253"}},"id":"18252","type":"GlyphRenderer"},{"attributes":{},"id":"18266","type":"AllLabels"},{"attributes":{},"id":"18268","type":"Selection"},{"attributes":{"source":{"id":"18191"}},"id":"18225","type":"CDSView"},{"attributes":{"line_color":"#1f77b4","line_width":2,"x":{"field":"date"},"y":{"field":"downloads"}},"id":"18249","type":"Line"},{"attributes":{},"id":"18280","type":"YearsTicker"},{"attributes":{"line_alpha":0.2,"line_color":"#1f77b4","line_width":2,"x":{"field":"date"},"y":{"field":"downloads"}},"id":"18251","type":"Line"},{"attributes":{"coordinates":null,"formatter":{"id":"18265"},"group":null,"major_label_policy":{"id":"18266"},"ticker":{"id":"18241"}},"id":"18240","type":"DatetimeAxis"},{"attributes":{"coordinates":null,"group":null,"text":"Drag the middle and edges of the selection box to change the range above"},"id":"18231","type":"Title"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"18282"},{"id":"18283"},{"id":"18284"},{"id":"18285"},{"id":"18286"},{"id":"18287"},{"id":"18288"},{"id":"18289"},{"id":"18290"},{"id":"18291"},{"id":"18292"},{"id":"18293"}]},"id":"18241","type":"DatetimeTicker"},{"attributes":{"axis":{"id":"18240"},"coordinates":null,"group":null,"ticker":null},"id":"18243","type":"Grid"},{"attributes":{},"id":"18267","type":"UnionRenderers"},{"attributes":{},"id":"18260","type":"AllLabels"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":2,"x":{"field":"date"},"y":{"field":"downloads"}},"id":"18250","type":"Line"},{"attributes":{"days":[1,8,15,22]},"id":"18274","type":"DaysTicker"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"size":{"value":10},"x":{"field":"date"},"y":{"field":"downloads"}},"id":"18221","type":"Circle"},{"attributes":{},"id":"18262","type":"DatetimeTickFormatter"},{"attributes":{},"id":"18238","type":"LinearScale"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"18269","type":"AdaptiveTicker"},{"attributes":{"callback":null,"formatters":{"@date":"datetime"},"tooltips":[["date","@date{%F}"],["downloads","@downloads{0,0}"]]},"id":"18228","type":"HoverTool"},{"attributes":{"months":[0,4,8]},"id":"18278","type":"MonthsTicker"},{"attributes":{},"id":"18233","type":"DataRange1d"},{"attributes":{"tools":[{"id":"18211"},{"id":"18228"}]},"id":"18212","type":"Toolbar"},{"attributes":{},"id":"18226","type":"NumeralTickFormatter"},{"attributes":{"above":[{"id":"18203"}],"background_fill_color":"#efefef","center":[{"id":"18206"},{"id":"18210"}],"height":1000,"left":[{"id":"18207"}],"renderers":[{"id":"18218"},{"id":"18224"}],"title":{"id":"18193"},"toolbar":{"id":"18212"},"toolbar_location":null,"width":1200,"x_range":{"id":"18195"},"x_scale":{"id":"18199"},"y_range":{"id":"18197"},"y_scale":{"id":"18201"}},"id":"18192","subtype":"Figure","type":"Plot"},{"attributes":{"source":{"id":"18191"}},"id":"18253","type":"CDSView"}],"root_ids":["18256"]},"title":"Bokeh Application","version":"2.4.2"}}
45
+ </script>
46
+ <script type="text/javascript">
47
+ (function() {
48
+ const fn = function() {
49
+ Bokeh.safely(function() {
50
+ (function(root) {
51
+ function embed_document(root) {
52
+
53
+ const docs_json = document.getElementById('18738').textContent;
54
+ const render_items = [{"docid":"4358d29e-2545-4944-a6c1-bb1e4b8b5625","root_ids":["18256"],"roots":{"18256":"58c59d57-cc09-422a-9ab6-a56f8bbce992"}}];
55
+ root.Bokeh.embed.embed_items(docs_json, render_items);
56
+
57
+ }
58
+ if (root.Bokeh !== undefined) {
59
+ embed_document(root);
60
+ } else {
61
+ let attempts = 0;
62
+ const timer = setInterval(function(root) {
63
+ if (root.Bokeh !== undefined) {
64
+ clearInterval(timer);
65
+ embed_document(root);
66
+ } else {
67
+ attempts++;
68
+ if (attempts > 100) {
69
+ clearInterval(timer);
70
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
71
+ }
72
+ }
73
+ }, 10, root)
74
+ }
75
+ })(window);
76
+ });
77
+ };
78
+ if (document.readyState != "loading") fn();
79
+ else document.addEventListener("DOMContentLoaded", fn);
80
+ })();
81
+ </script>
82
+
83
+ </body>
84
+
85
+ </html>
index.html DELETED
@@ -1,24 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>
13
- You can modify this app directly by editing <i>index.html</i> in the
14
- Files and versions tab.
15
- </p>
16
- <p>
17
- Also don't forget to check the
18
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank"
19
- >Spaces documentation</a
20
- >.
21
- </p>
22
- </div>
23
- </body>
24
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
style.css DELETED
@@ -1,28 +0,0 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
- }
5
-
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
- }
10
-
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
- }
17
-
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
- }
25
-
26
- .card p:last-child {
27
- margin-bottom: 0;
28
- }