Spaces:
Runtime error
Runtime error
Greg Wilson Srihari Thyagarajan commited on
Commit ·
a4a5f6d
1
Parent(s): 4644cb5
fix: update altair notebooks
Browse files- Update altair/02_marks_encoding.py
- Update altair/05_view_composition.py
Co-authored-by: Srihari Thyagarajan <57552973+Haleshot@users.noreply.github.com>
altair/02_marks_encoding.py
CHANGED
|
@@ -566,7 +566,7 @@ def _(mo):
|
|
| 566 |
|
| 567 |
The `column` and `row` encoding channels generate either a horizontal (columns) or vertical (rows) set of sub-plots, in which the data is partitioned according to the provided data field.
|
| 568 |
|
| 569 |
-
Here is a trellis plot that divides the data into one column per
|
| 570 |
""")
|
| 571 |
return
|
| 572 |
|
|
|
|
| 566 |
|
| 567 |
The `column` and `row` encoding channels generate either a horizontal (columns) or vertical (rows) set of sub-plots, in which the data is partitioned according to the provided data field.
|
| 568 |
|
| 569 |
+
Here is a trellis plot that divides the data into one column per `cluster` value:
|
| 570 |
""")
|
| 571 |
return
|
| 572 |
|
altair/05_view_composition.py
CHANGED
|
@@ -712,7 +712,7 @@ def _(mo):
|
|
| 712 |
return
|
| 713 |
|
| 714 |
|
| 715 |
-
@app.cell
|
| 716 |
def _(alt, weather):
|
| 717 |
splom = alt.Chart().mark_point(filled=True, size=15, opacity=0.5).encode(
|
| 718 |
alt.X(alt.repeat('column'), type='quantitative'),
|
|
|
|
| 712 |
return
|
| 713 |
|
| 714 |
|
| 715 |
+
@app.cell(hide_code=True)
|
| 716 |
def _(alt, weather):
|
| 717 |
splom = alt.Chart().mark_point(filled=True, size=15, opacity=0.5).encode(
|
| 718 |
alt.X(alt.repeat('column'), type='quantitative'),
|