From 8d3d26236040567253c80bd5fd0ae2cee1b5ad56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20K=C3=B6hler?= <27728103+Ceyron@users.noreply.github.com> Date: Thu, 31 Oct 2024 12:39:53 +0100 Subject: [PATCH] Fix Streamlit (#28) * Fix 1D spatio-temporal * Fix distance_scale default * Remove no longer needed color map hack * Vmap periodic extension before using volume renderer --- explore_sample_data_streamlit.py | 40 ++++++++------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) diff --git a/explore_sample_data_streamlit.py b/explore_sample_data_streamlit.py index 795871f..ab4a5db 100644 --- a/explore_sample_data_streamlit.py +++ b/explore_sample_data_streamlit.py @@ -13,12 +13,12 @@ from dataclasses import dataclass from typing import Optional +import jax import matplotlib.pyplot as plt import numpy as np import streamlit as st import streamlit.components.v1 as components from IPython.display import DisplayObject -from matplotlib.colors import Colormap, LinearSegmentedColormap, ListedColormap import apebench @@ -88,7 +88,7 @@ TEMPLATE_IFRAME = """
- +