File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
src/depiction_targeted_preproc/workflow Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ dependencies = [
33
33
" statsmodels>=0.14.0" ,
34
34
" tqdm>=4.66.1" ,
35
35
" cyclopts" ,
36
- " vegafusion[embed]>=1.6.5 " ,
36
+ " vegafusion[embed]>=2.0.0 " ,
37
37
" xarray" ,
38
38
# TODO unpin when https://github.com/Unidata/netcdf4-python/issues/1343 is resolved
39
39
" netCDF4<=1.7.1" ,
Original file line number Diff line number Diff line change
1
+ from pathlib import Path
2
+
3
+ import altair as alt
1
4
import cyclopts
2
5
import polars as pl
3
- import vegafusion
4
- from pathlib import Path
5
6
6
7
from depiction_targeted_preproc .workflow .qc .plot_peak_density import plot_density_combined_full
7
8
@@ -14,7 +15,7 @@ def exp_plot_compare_peak_density(
14
15
table_marker_distance_uncalib : Path ,
15
16
output_pdf : Path ,
16
17
) -> None :
17
- vegafusion . enable ()
18
+ alt . data_transformers . enable ("vegafusion" )
18
19
19
20
table = pl .concat (
20
21
[
Original file line number Diff line number Diff line change
1
+ from pathlib import Path
2
+
1
3
import altair as alt
2
4
import cyclopts
3
5
import polars as pl
4
- import vegafusion
5
6
from KDEpy import FFTKDE
6
- from pathlib import Path
7
7
8
8
from depiction_targeted_preproc .workflow .qc .plot_calibration_map import get_mass_groups
9
9
@@ -91,7 +91,7 @@ def qc_plot_peak_density(
91
91
output_pdf : Path ,
92
92
grouped : bool = False ,
93
93
) -> None :
94
- vegafusion . enable ()
94
+ alt . data_transformers . enable ("vegafusion" )
95
95
96
96
table_calib = pl .read_parquet (table_marker_distances_calib )
97
97
table_baseline = pl .read_parquet (table_marker_distances_baseline )
You can’t perform that action at this time.
0 commit comments