Skip to content

Commit

Permalink
Revert changes to Pipeline.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Nov 30, 2022
1 parent 67d1e59 commit 282127e
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions examples/user_guide/Pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,6 @@
"pipeline.add_filter('widget', field='sex')\n",
"pipeline.add_filter('widget', field='year')\n",
"\n",
"# Transforms\n",
"column_select = pn.widgets.MultiSelect(options=list(pipeline.data.columns), name='Column Select')\n",
"column_transform = lumen.transforms.Columns(columns=column_select)\n",
"#pipeline.add_transform(column_transform)\n",
"\n",
"pipeline.data"
]
},
Expand Down Expand Up @@ -192,30 +187,6 @@
"By chaining the `Pipeline` we can share computations between different stages, i.e. the filtering step still occurs in the first stage."
]
},
{
"cell_type": "markdown",
"id": "1c549424-a452-44e4-bb06-139d6380300b",
"metadata": {},
"source": [
"## Construct layouts"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "326c80a6-72e5-4f5b-8545-2357abf3404b",
"metadata": {},
"outputs": [],
"source": [
"from lumen.views import hvPlotUIView\n",
"\n",
"from lumen.target import Target\n",
"\n",
"t = Target(views=[Table(pipeline=agg_pipeline), hvPlotUIView(pipeline=pipeline, kind='scatter', x='bill_length_mm', y='bill_depth_mm', by='species')], title='Penguin Views')\n",
"\n",
"d = lumen.Dashboard(lumen.state.to_spec(targets=[t])).show()"
]
},
{
"cell_type": "markdown",
"id": "a8b0659b-9b67-44fd-8c83-a9c6ed5b0408",
Expand Down

0 comments on commit 282127e

Please sign in to comment.