Skip to content

Commit b5f77d3

Browse files
committed
Update changelog and move export vtkjs
1 parent 0d27dda commit b5f77d3

File tree

4 files changed

+4
-55
lines changed

4 files changed

+4
-55
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## [v 0.1.0] - 2024-10-01
44
- Support trame and panel as html exporting backends
55
- Reorganize repository folder structure
6+
- Move `stpyvista.export` to `stpyvista.vtkjs_backend`
7+
- Rename `stpyvista.experimental_vtkjs` to `stpyvista.vtkjs_backend.stpyvista`
68

79
## [v 0.0.20] - 2024-09-16
810
- Reorganize repository folder structure

src/stpyvista/export.py

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/stpyvista/vtkjs_backend.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
from trame.widgets import (
99
vuetify as vuetify,
1010
)
11-
1211
from trame.widgets.vtk import VtkLocalView
1312
from trame.ui.vuetify import SinglePageLayout
14-
1513
from pyvista.plotting import Plotter
1614

15+
1716
# Tell streamlit that there is a component called `experimental_vtkjs`,
1817
# and that the code to display that component is in the "vanilla_vtkjs" folder
1918
experimental_frontend_dir = (Path(__file__).parent / "vanilla_vtkjs").absolute()

test/sphere.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
import streamlit as st
33
import pyvista as pv
44

5-
from stpyvista import stpyvista
6-
from stpyvista.export import export_vtksz
5+
from stpyvista.vtkjs_backend import stpyvista, export_vtksz
76

87

98
@st.cache_resource

0 commit comments

Comments
 (0)