Skip to content

Commit 017b95f

Browse files
remove caption hack in cls2
1 parent 73c8c1a commit 017b95f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

source/classification2.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ You will also notice that we set the random seed using the `np.random.seed` func
432432
as described in {numref}`randomseeds`.
433433

434434
```{code-cell} ipython3
435+
:tags: ["remove-output"]
435436
# load packages
436437
import altair as alt
437438
import pandas as pd
@@ -462,11 +463,18 @@ perim_concav = alt.Chart(cancer).mark_circle().encode(
462463
perim_concav
463464
```
464465

465-
```{figure} data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
466+
```{code-cell} ipython3
467+
:tags: ["remove-cell"]
468+
glue("fig:06-precode", perim_concav)
469+
```
470+
471+
:::{glue:figure} fig:06-precode
466472
:name: fig:06-precode
467473

468474
Scatter plot of tumor cell concavity versus smoothness colored by diagnosis label.
469-
```
475+
:::
476+
477+
470478

471479
+++
472480

0 commit comments

Comments
 (0)