Skip to content

Commit c016465

Browse files
committed
Minor fixes (#12)
* Conda and pip selenium install options * Minor fixes
1 parent 651b2a0 commit c016465

8 files changed

+20
-146
lines changed

notebooks/04_basic_plots.ipynb

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"cells": [
33
{
4-
"attachments": {},
54
"cell_type": "markdown",
65
"metadata": {},
76
"source": [
@@ -47,7 +46,6 @@
4746
]
4847
},
4948
{
50-
"attachments": {},
5149
"cell_type": "markdown",
5250
"metadata": {},
5351
"source": [
@@ -65,7 +63,6 @@
6563
]
6664
},
6765
{
68-
"attachments": {},
6966
"cell_type": "markdown",
7067
"metadata": {},
7168
"source": [
@@ -87,7 +84,6 @@
8784
]
8885
},
8986
{
90-
"attachments": {},
9187
"cell_type": "markdown",
9288
"metadata": {},
9389
"source": [
@@ -104,7 +100,6 @@
104100
]
105101
},
106102
{
107-
"attachments": {},
108103
"cell_type": "markdown",
109104
"metadata": {},
110105
"source": [
@@ -122,16 +117,15 @@
122117
]
123118
},
124119
{
125-
"attachments": {},
126120
"cell_type": "markdown",
127121
"metadata": {},
128122
"source": [
129123
"You can think of using the `figure()` function as creating a blank canvas.\n",
130124
"Once you have created the canvas, you can add glyphs to create a plot.\n",
131125
"\n",
132-
"### Adding a line chart\n",
126+
"### Adding a line glyph\n",
133127
"\n",
134-
"To add a line chart, use the `line()` function. \n",
128+
"To add a line glyph, use the `line()` function. \n",
135129
"\n",
136130
"This function requires some data to visualize as an input. For now, use a simple\n",
137131
"list of numbers. One list for the y-axis and one for the x-axis:"
@@ -151,7 +145,6 @@
151145
]
152146
},
153147
{
154-
"attachments": {},
155148
"cell_type": "markdown",
156149
"metadata": {},
157150
"source": [
@@ -176,7 +169,6 @@
176169
]
177170
},
178171
{
179-
"attachments": {},
180172
"cell_type": "markdown",
181173
"metadata": {},
182174
"source": [
@@ -222,7 +214,6 @@
222214
]
223215
},
224216
{
225-
"attachments": {},
226217
"cell_type": "markdown",
227218
"metadata": {},
228219
"source": [
@@ -247,7 +238,6 @@
247238
]
248239
},
249240
{
250-
"attachments": {},
251241
"cell_type": "markdown",
252242
"metadata": {},
253243
"source": [
@@ -292,7 +282,6 @@
292282
]
293283
},
294284
{
295-
"attachments": {},
296285
"cell_type": "markdown",
297286
"metadata": {},
298287
"source": [
@@ -328,7 +317,6 @@
328317
]
329318
},
330319
{
331-
"attachments": {},
332320
"cell_type": "markdown",
333321
"metadata": {},
334322
"source": [
@@ -366,7 +354,6 @@
366354
]
367355
},
368356
{
369-
"attachments": {},
370357
"cell_type": "markdown",
371358
"metadata": {},
372359
"source": [
@@ -375,7 +362,6 @@
375362
]
376363
},
377364
{
378-
"attachments": {},
379365
"cell_type": "markdown",
380366
"metadata": {},
381367
"source": [
@@ -407,7 +393,6 @@
407393
]
408394
},
409395
{
410-
"attachments": {},
411396
"cell_type": "markdown",
412397
"metadata": {},
413398
"source": [
@@ -451,7 +436,6 @@
451436
]
452437
},
453438
{
454-
"attachments": {},
455439
"cell_type": "markdown",
456440
"metadata": {},
457441
"source": [
@@ -474,7 +458,6 @@
474458
]
475459
},
476460
{
477-
"attachments": {},
478461
"cell_type": "markdown",
479462
"metadata": {},
480463
"source": [
@@ -509,7 +492,6 @@
509492
]
510493
},
511494
{
512-
"attachments": {},
513495
"cell_type": "markdown",
514496
"metadata": {},
515497
"source": [
@@ -523,7 +505,6 @@
523505
]
524506
},
525507
{
526-
"attachments": {},
527508
"cell_type": "markdown",
528509
"metadata": {},
529510
"source": [

notebooks/05_styling.ipynb

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"cells": [
33
{
4-
"attachments": {},
54
"cell_type": "markdown",
65
"metadata": {},
76
"source": [
@@ -47,7 +46,6 @@
4746
]
4847
},
4948
{
50-
"attachments": {},
5149
"cell_type": "markdown",
5250
"metadata": {},
5351
"source": [
@@ -61,7 +59,6 @@
6159
]
6260
},
6361
{
64-
"attachments": {},
6562
"cell_type": "markdown",
6663
"metadata": {},
6764
"source": [
@@ -102,7 +99,6 @@
10299
]
103100
},
104101
{
105-
"attachments": {},
106102
"cell_type": "markdown",
107103
"metadata": {},
108104
"source": [
@@ -111,7 +107,6 @@
111107
]
112108
},
113109
{
114-
"attachments": {},
115110
"cell_type": "markdown",
116111
"metadata": {},
117112
"source": [
@@ -159,7 +154,6 @@
159154
]
160155
},
161156
{
162-
"attachments": {},
163157
"cell_type": "markdown",
164158
"metadata": {},
165159
"source": [
@@ -231,7 +225,6 @@
231225
]
232226
},
233227
{
234-
"attachments": {},
235228
"cell_type": "markdown",
236229
"metadata": {},
237230
"source": [
@@ -267,15 +260,13 @@
267260
]
268261
},
269262
{
270-
"attachments": {},
271263
"cell_type": "markdown",
272264
"metadata": {},
273265
"source": [
274266
"See the [Styling plot elements](https://docs.bokeh.org/en/latest/docs/user_guide/styling/plots.html#ug-styling-plots) section of the user guide for more details."
275267
]
276268
},
277269
{
278-
"attachments": {},
279270
"cell_type": "markdown",
280271
"metadata": {},
281272
"source": [
@@ -324,7 +315,6 @@
324315
]
325316
},
326317
{
327-
"attachments": {},
328318
"cell_type": "markdown",
329319
"metadata": {},
330320
"source": [
@@ -333,7 +323,6 @@
333323
]
334324
},
335325
{
336-
"attachments": {},
337326
"cell_type": "markdown",
338327
"metadata": {},
339328
"source": [
@@ -367,7 +356,6 @@
367356
]
368357
},
369358
{
370-
"attachments": {},
371359
"cell_type": "markdown",
372360
"metadata": {},
373361
"source": [
@@ -423,7 +411,6 @@
423411
]
424412
},
425413
{
426-
"attachments": {},
427414
"cell_type": "markdown",
428415
"metadata": {},
429416
"source": [
@@ -432,7 +419,6 @@
432419
]
433420
},
434421
{
435-
"attachments": {},
436422
"cell_type": "markdown",
437423
"metadata": {},
438424
"source": [
@@ -482,7 +468,6 @@
482468
]
483469
},
484470
{
485-
"attachments": {},
486471
"cell_type": "markdown",
487472
"metadata": {},
488473
"source": [
@@ -492,7 +477,6 @@
492477
]
493478
},
494479
{
495-
"attachments": {},
496480
"cell_type": "markdown",
497481
"metadata": {},
498482
"source": [
@@ -577,7 +561,6 @@
577561
]
578562
},
579563
{
580-
"attachments": {},
581564
"cell_type": "markdown",
582565
"metadata": {},
583566
"source": [
@@ -587,7 +570,6 @@
587570
]
588571
},
589572
{
590-
"attachments": {},
591573
"cell_type": "markdown",
592574
"metadata": {},
593575
"source": [
@@ -618,7 +600,6 @@
618600
]
619601
},
620602
{
621-
"attachments": {},
622603
"cell_type": "markdown",
623604
"metadata": {},
624605
"source": [
@@ -663,7 +644,6 @@
663644
]
664645
},
665646
{
666-
"attachments": {},
667647
"cell_type": "markdown",
668648
"metadata": {},
669649
"source": [
@@ -687,7 +667,7 @@
687667
"metadata": {},
688668
"outputs": [],
689669
"source": [
690-
"from bokeh.models import ColorBar\n",
670+
"from bokeh.models import ColorBar # only needed to create a ColorBar directly rather than using construct_color_bar\n",
691671
"\n",
692672
"color_bar = circle_scatter.construct_color_bar() # create a color bar based on the glyph's color mapper\n",
693673
"mapper_plot.add_layout(obj=color_bar, place=\"right\") # add the color bar to the plot you created above\n",
@@ -696,7 +676,6 @@
696676
]
697677
},
698678
{
699-
"attachments": {},
700679
"cell_type": "markdown",
701680
"metadata": {},
702681
"source": [
@@ -705,7 +684,6 @@
705684
]
706685
},
707686
{
708-
"attachments": {},
709687
"cell_type": "markdown",
710688
"metadata": {},
711689
"source": [
@@ -759,7 +737,6 @@
759737
]
760738
},
761739
{
762-
"attachments": {},
763740
"cell_type": "markdown",
764741
"metadata": {},
765742
"source": [
@@ -769,7 +746,6 @@
769746
]
770747
},
771748
{
772-
"attachments": {},
773749
"cell_type": "markdown",
774750
"metadata": {},
775751
"source": [

0 commit comments

Comments
 (0)