probabl-ai / skore

Skore let's you "Own Your Data Science." It provides a user-friendly interface to track and visualize your modeling results, and perform evaluation of your machine learning models with scikit-learn.
https://probabl.ai
MIT License
11 stars 0 forks source link

Altair charts do not appear on the dashboard #379

Closed sylvaincom closed 1 week ago

sylvaincom commented 1 week ago

Altair charts do not appear on the dashboard. I am at this commit: 1419539e1ec6586b3f5f360477650837e740d4e0

Some code to reproduce:

num_points = 100
df_plot = pd.DataFrame(
    {"x": np.random.randn(num_points), "y": np.random.randn(num_points)}
)

my_chart = (
    alt.Chart(df_plot)
    .mark_circle()
    .encode(x="x", y="y", tooltip=["x", "y"])
    .interactive()
    .properties(title="My title")
)

project.put("my_chart", my_chart)