Skip to content

Commit

Permalink
adding symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewghgriffiths committed Apr 25, 2024
1 parent 26ccb45 commit f4cbfea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rowing/app/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import streamlit as st
import pandas as pd
import plotly.express as px
from plotly.validators.scatter.marker import SymbolValidator

from rowing.world_rowing import fields

Expand All @@ -19,6 +20,11 @@
}
}

SYMBOLS = [
s for s in SymbolValidator().values[2::3]
if not s.endswith("open") or s.endswith("dot")
]


def live_race_plot_data(live_race, *args, **kwargs):
if live_race.livetracker is None:
Expand Down

0 comments on commit f4cbfea

Please sign in to comment.