From a422dc34bf3dfe6e9fe7d881dbdd47cd8a81e1ed Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Mon, 20 Nov 2023 14:49:19 -0500 Subject: [PATCH] MNT: Uncap dependencies (#998) * MNT: Unpin bokeh * FIX: Use width/height instead of plot_width/plot_height * MNT: Unpin jinja2 --- pyproject.toml | 3 +-- tedana/reporting/dynamic_figures.py | 12 ++++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 92798da19..ee1f4c6d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ classifiers = [ license = {file = "LICENSE"} requires-python = ">=3.8" dependencies = [ - "bokeh<2.3.0", + "bokeh", "mapca>=0.0.3", "matplotlib", "nibabel>=2.5.1", @@ -29,7 +29,6 @@ dependencies = [ "scikit-learn>=0.21", "scipy>=1.2.0", "threadpoolctl", - "jinja2==3.0.1", ] dynamic = ["version"] diff --git a/tedana/reporting/dynamic_figures.py b/tedana/reporting/dynamic_figures.py index a72748f53..aee837ea0 100644 --- a/tedana/reporting/dynamic_figures.py +++ b/tedana/reporting/dynamic_figures.py @@ -162,8 +162,8 @@ def _create_kr_plt(comptable_cds, kappa_elbow=None, rho_elbow=None): ] ) fig = plotting.figure( - plot_width=400, - plot_height=400, + width=400, + height=400, tools=["tap,wheel_zoom,reset,pan,crosshair,save", kr_hovertool], title="Kappa / Rho Plot", ) @@ -276,8 +276,8 @@ def _create_sorted_plt( ] ) fig = plotting.figure( - plot_width=400, - plot_height=400, + width=400, + height=400, tools=["tap,wheel_zoom,reset,pan,crosshair,save", hovertool], title=title, ) @@ -319,8 +319,8 @@ def _create_sorted_plt( def _create_varexp_pie_plt(comptable_cds): fig = plotting.figure( - plot_width=400, - plot_height=400, + width=400, + height=400, title="Variance Explained View", tools=["hover,tap,save"], tooltips=[