Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test whether we can remove altair soft_dependencies hack #188

Merged
merged 2 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions docs/jupyter-widgets.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ To render an ipywidget you first define a reactive function that returns the wid

from shiny.express import input, ui
from shinywidgets import render_altair
import soft_dependencies

ui.input_selectize("var", "Select variable", choices=["bill_length_mm", "body_mass_g"])

Expand All @@ -75,15 +74,6 @@ def hist():
altair
anywidget
palmerpenguins
jsonschema
jsonschema - specifications
## file: soft_dependencies.py
# Temporary workaround to inform shinylive of soft dependencies
import anywidget
import jsonschema
import jsonschema_specifications
import mypy_extensions
import toolz
```

##### Bokeh
Expand Down Expand Up @@ -394,7 +384,6 @@ import altair as alt
from shiny.express import render
from shinywidgets import reactive_read, render_altair
from vega_datasets import data
import soft_dependencies

"Click the legend to update the selection"

Expand Down Expand Up @@ -422,15 +411,6 @@ def jchart():
altair
anywidget
vega_datasets
jsonschema
jsonschema-specifications
## file: soft_dependencies.py
# Temporary workaround to inform shinylive of soft dependencies
import anywidget
import jsonschema
import jsonschema_specifications
import mypy_extensions
import toolz
```


Expand Down
10 changes: 0 additions & 10 deletions docs/overview.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ See the [Jupyter Widgets article](jupyter-widgets.qmd) for more information on r

from shiny.express import input, ui
from shinywidgets import render_altair
import soft_dependencies

ui.input_selectize(
"var", "Select variable",
Expand All @@ -162,15 +161,6 @@ def hist():
altair
anywidget
palmerpenguins
jsonschema
jsonschema-specifications
## file: soft_dependencies.py
# Temporary workaround to inform shinylive of soft dependencies
import anywidget
import jsonschema
import jsonschema_specifications
import mypy_extensions
import toolz
```

##### Bokeh
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jupyter
jupyter_client < 8.0.0
tabulate
shinylive==0.5.0
shinylive @ git+https://github.com/posit-dev/py-shinylive@main
wch marked this conversation as resolved.
Show resolved Hide resolved
matplotlib==3.8.1
shiny
seaborn==0.13.0
Expand Down
Loading