File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ def from_yaml(
460460 cls ,
461461 file : Path ,
462462 * ,
463- concat : bool = False ,
463+ concat : bool = True ,
464464 ) -> DataAplose | list [DataAplose ]:
465465 """Return a DataAplose object from a yaml file.
466466
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ def reshape_timebin(
322322 "annotator" : [ant ] * len (file_vector ),
323323 "start_datetime" : start_datetime ,
324324 "end_datetime" : end_datetime ,
325- "is_box " : [0 ] * len (file_vector ),
325+ "type " : ["WEAK" ] * len (file_vector ),
326326 },
327327 ),
328328 )
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def histo(
121121 "width" : bar_width .total_seconds () / 86400 ,
122122 "align" : "edge" ,
123123 "edgecolor" : "black" ,
124- "color" : color ,
124+ "color" : color [ i ] ,
125125 "zorder" : 2 ,
126126 }
127127 if legend_labels :
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ def test_no_timebin_original_timebin(sample_df: DataFrame) -> None:
478478 [Timestamp ("2025-01-26 06:20:00+00:00" )] * 7 ,
479479 "end_datetime" : [Timestamp ("2025-01-25 06:21:00+00:00" )] * 11 +
480480 [Timestamp ("2025-01-26 06:21:00+00:00" )] * 7 ,
481- "is_box " : [0 ] * 18 ,
481+ "type " : ["WEAK" ] * 18 ,
482482 },
483483 )
484484
You can’t perform that action at this time.
0 commit comments