kplot 1.1.43__tar.gz → 1.1.45__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.43
3
+ Version: 1.1.45
4
4
  Summary: a matplotlib wrapper for keyan :-)
5
5
  Author: Keyan Gootkin
6
6
  Author-email: Keyan Gootkin <keyangootkin@gmail.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "kplot"
3
- version = "1.1.43"
3
+ version = "1.1.45"
4
4
  description = "a matplotlib wrapper for keyan :-)"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -26,7 +26,7 @@ def ffmpeg(
26
26
  file_path: str = destination + '/' + file_name
27
27
  if not file_path.endswith('.mp4'): file_path += ".mp4"
28
28
  if verbose: print(purple("FFMPeg running..."))
29
- system(f"ffmpeg -loglevel {log} -framerate {fps} -pattern_type glob -i '{source+'/*.png'}' -c:v {vcodec} -pix_fmt {pix_fmt} -y {file_path}")
29
+ system(f"source ~/.bashrc;ffmpeg -loglevel {log} -framerate {fps} -pattern_type glob -i '{source+'/*.png'}' -c:v {vcodec} -pix_fmt {pix_fmt} -y {file_path}")
30
30
  def func_video(
31
31
  video_name: str, fig: Figure, updater: Callable, N: int,
32
32
  frames: str = f"./.temp", destination: str = "./",
@@ -15,7 +15,7 @@ from matplotlib.collections import LineCollection
15
15
  # >-|===|> Functions <|===|-<
16
16
  # !==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==
17
17
  def line2segments(
18
- x: Iterable, y: Iterable
18
+ x: Array, y: Array
19
19
  ) -> ndarray:
20
20
  """convert an x, y line into individual [(x1, y1), ..., (xn, yn)] segments with a midpoint. Stolen from stack exchange"""
21
21
  # Compute the midpoints of the line segments. Include the first and last points
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes