kplot 1.1.5__tar.gz → 1.1.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kplot
3
- Version: 1.1.5
3
+ Version: 1.1.6
4
4
  Summary: a matplotlib wrapper for keyan :-)
5
5
  Requires-Dist: kbasic>=0.1.4
6
6
  Requires-Dist: matplotlib>=3.10.8
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "kplot"
3
- version = "1.1.5"
3
+ version = "1.1.6"
4
4
  description = "a matplotlib wrapper for keyan :-)"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -79,7 +79,7 @@ def lines_video(
79
79
  def update(i: int) -> None:
80
80
  for (x, y), line in zip(data, lines):
81
81
  line.set_data(x[i], y[i])
82
- func_video(fname, fig, update, len(data[0][0]), fps=fps, dpi=dpi, destination=destination, frames=frames)
82
+ func_video(fname, fig, update, min([len(data[i][0]) for i in range(len(data))]), fps=fps, dpi=dpi, destination=destination, frames=frames)
83
83
  def show_video(
84
84
  frames: np.ndarray,
85
85
  fname: str,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes