File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11import warnings
2- from typing import List , Optional , Union
2+ from typing import Optional , Union
33
44import matplotlib .pyplot as plt
55import numpy as np
@@ -92,7 +92,7 @@ def labelLine(
9292
9393
9494def labelLines (
95- lines : Optional [List [Line2D ]] = None ,
95+ lines : Optional [list [Line2D ]] = None ,
9696 align : Optional [bool ] = None ,
9797 xvals : Optional [Union [tuple [float , float ], list [float ]]] = None ,
9898 drop_label : bool = False ,
Original file line number Diff line number Diff line change 1- from typing import Tuple
2-
31import numpy as np
42from matplotlib .lines import Line2D
53
64
7- def normalize_xydata (line : Line2D ) -> Tuple [np .ndarray , np .ndarray ]:
5+ def normalize_xydata (line : Line2D ) -> tuple [np .ndarray , np .ndarray ]:
86 """Make sure datetime values are properly converted to floats and convert
97 into data coordinates."""
108 # Convert the data into the data coordinates
You can’t perform that action at this time.
0 commit comments