Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson committed Nov 25, 2024
2 parents ae70e74 + 48d7240 commit b67701a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions simba/plotting/gantt_plotly.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import pandas as pd
import numpy as np
import plotly.express as px
import PIL
import io
from typing import Optional, Tuple, Union

import numpy as np
import pandas as pd
import PIL
import plotly.express as px

from simba.utils.checks import (check_float, check_instance, check_int,
check_valid_dataframe)
from simba.utils.data import create_color_palettes, detect_bouts
from simba.utils.checks import check_float, check_int, check_instance, check_valid_dataframe
from simba.utils.read_write import seconds_to_timestamp, read_df
from simba.utils.errors import InvalidInputError
from simba.utils.read_write import read_df, seconds_to_timestamp


def gantt_plotly(bouts_df: pd.DataFrame,
img_size: Optional[Tuple[int, int]] = (640, 480),
Expand Down

0 comments on commit b67701a

Please sign in to comment.