File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 22Changelog
33#########
44
5+ Version 5.0.1 (2024-06-14)
6+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
7+
8+ - fix: fix return type of Timeline.__iter__ (@domsmrz)
9+ - improve: remove MatplotlibDeprecationWarning (@kimdwkimdw)
10+
511Version 5.0.0 (2022-12-15)
612~~~~~~~~~~~~~~~~~~~~~~~~~~
713
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def __init__(self):
126126 self .reset ()
127127
128128 def reset (self ):
129- from matplotlib .cm import get_cmap
129+ from matplotlib .pyplot import get_cmap
130130
131131 linewidth = [3 , 1 ]
132132 linestyle = ["solid" , "dashed" , "dotted" ]
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def __bool__(self):
182182 """
183183 return len (self .segments_set_ ) > 0
184184
185- def __iter__ (self ) -> Iterable [Segment ]:
185+ def __iter__ (self ) -> Iterator [Segment ]:
186186 """Iterate over segments (in chronological order)
187187
188188 >>> for segment in timeline:
You can’t perform that action at this time.
0 commit comments