Skip to content

Commit

Permalink
fix: js_modules -> plot
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed Sep 5, 2024
1 parent 9738a33 commit 00b7a49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/_setup.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pyobsplot
from pyobsplot import Plot, Obsplot, d3, Math, js
pyobsplot.js_modules._plot_format = "html"
pyobsplot.plot._plot_format = "html"
op = Obsplot(format="html")
```
2 changes: 1 addition & 1 deletion doc/_setup_widget.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import pyobsplot
from pyobsplot import Plot, Obsplot, d3, Math, js
pyobsplot.js_modules._plot_format = "widget"
pyobsplot.plot._plot_format = "widget"
```
2 changes: 1 addition & 1 deletion doc/development.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ uv run quarto render doc/
When a new Plot version is released:

- update with `npm install @observablehq/plot d3 --workspaces --include-workspace-root`
- run `utils/get_plot_methods.js` to update Plot methods in `src/pyobsplot/js_modules.py`
- run `utils/get_plot_methods.js` to update Plot methods in `src/pyobsplot/plot.py`

0 comments on commit 00b7a49

Please sign in to comment.