pandas-plots 0.15.5__py3-none-any.whl → 0.15.6__py3-none-any.whl

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.
pandas_plots/.DS_Store ADDED
Binary file
pandas_plots/pls.py CHANGED
@@ -233,7 +233,7 @@ def plot_stacked_bars(
233
233
  height: int = 500,
234
234
  width: int = 2000,
235
235
  title: str = None,
236
- renderer: Literal["png", "svg", "notebook"] = "notebook",
236
+ renderer: Literal["png", "svg", None] = None,
237
237
  caption: str = None,
238
238
  sort_values: bool = False,
239
239
  sort_values_index: bool = False,
@@ -526,7 +526,7 @@ def plot_bars(
526
526
  use_ci: bool = False,
527
527
  ci_agg: Literal["mean", "median"] = "mean",
528
528
  precision: int = 0,
529
- renderer: Literal["png", "svg", "notebook"] = "notebook",
529
+ renderer: Literal["png", "svg", None] = None,
530
530
  png_path: Path | str = None,
531
531
  ) -> None:
532
532
  """
@@ -553,7 +553,7 @@ def plot_bars(
553
553
  - enforces nomalize=False
554
554
  - enforces dropna=True
555
555
  - precision: An integer indicating the number of decimal places to round the values to. Default is 0.
556
- - renderer: A string indicating the renderer to use for displaying the chart. It can be "png", "svg", or None. Default is "png".
556
+ - renderer: A string indicating the renderer to use for displaying the chart. It can be "png", "svg", or None. Default is None.
557
557
  - png_path (Path | str, optional): The path to save the image as a png file. Defaults to None.
558
558
 
559
559
  Returns: None
@@ -809,7 +809,7 @@ def plot_histogram(
809
809
  width: int = 1600,
810
810
  text_auto: bool = True,
811
811
  barmode: Literal["group", "overlay", "relative"] = "relative",
812
- renderer: Literal["png", "svg", "notebook"] = "notebook",
812
+ renderer: Literal["png", "svg", None] = None,
813
813
  caption: str = None,
814
814
  title: str = None,
815
815
  png_path: Path | str = None,
@@ -830,7 +830,7 @@ def plot_histogram(
830
830
  width (int): The width of the plot. Default is 1600.
831
831
  text_auto (bool): Whether to automatically display text on the plot. Default is True.
832
832
  barmode (Literal["group", "overlay", "relative"]): The mode for the bars in the histogram. Default is "relative".
833
- renderer (Literal["png", "svg", None]): The renderer for displaying the plot. Default is "png".
833
+ renderer (Literal["png", "svg", None]): The renderer for displaying the plot. Default is None.
834
834
  caption (str): The caption for the plot. Default is None.
835
835
  title (str): The title of the plot. Default is None.
836
836
  png_path (Path | str, optional): The path to save the image as a png file. Defaults to None.
@@ -1008,7 +1008,7 @@ def plot_box(
1008
1008
  x_max: float = None,
1009
1009
  use_log: bool = False,
1010
1010
  png_path: Path | str = None,
1011
- renderer: Literal["png", "svg", "notebook"] = "notebook",
1011
+ renderer: Literal["png", "svg", None] = None,
1012
1012
  ) -> None:
1013
1013
  """
1014
1014
  Plots a horizontal box plot for the given pandas Series.
@@ -1028,7 +1028,7 @@ def plot_box(
1028
1028
  x_max: The maximum value for the x-axis scale (max and min must be set).
1029
1029
  use_log: Use logarithmic scale for the axis.
1030
1030
  png_path (Path | str, optional): The path to save the image as a png file. Defaults to None.
1031
- renderer (Literal["png", "svg", None], optional): The renderer to use for saving the image. Defaults to "png".
1031
+ renderer (Literal["png", "svg", None], optional): The renderer to use for saving the image. Defaults to None.
1032
1032
 
1033
1033
  Returns: None
1034
1034
  """
@@ -1172,7 +1172,7 @@ def plot_boxes(
1172
1172
  use_log: bool = False,
1173
1173
  box_width: float = 0.5,
1174
1174
  png_path: Path | str = None,
1175
- renderer: Literal["png", "svg", "notebook"] = "notebook",
1175
+ renderer: Literal["png", "svg", None] = None,
1176
1176
  ) -> None:
1177
1177
  """
1178
1178
  [Experimental] Plot vertical boxes for each unique item in the DataFrame and add annotations for statistics.
@@ -1188,7 +1188,7 @@ def plot_boxes(
1188
1188
  summary (bool): Whether to add a summary to the plot.
1189
1189
  use_log (bool): Whether to use logarithmic scale for the plot (cannot show negative values).
1190
1190
  png_path (Path | str, optional): The path to save the image as a png file. Defaults to None.
1191
- renderer (Literal["png", "svg", None], optional): The renderer to use for saving the image. Defaults to "png".
1191
+ renderer (Literal["png", "svg", None], optional): The renderer to use for saving the image. Defaults to None.
1192
1192
 
1193
1193
  Returns: None
1194
1194
  """
@@ -1331,7 +1331,7 @@ def plot_facet_stacked_bars(
1331
1331
  subplot_size: int = 300,
1332
1332
  color_palette: str = "Plotly",
1333
1333
  caption: str = "",
1334
- renderer: Optional[Literal["png", "svg", "notebook"]] = "png",
1334
+ renderer: Optional[Literal["png", "svg", None]] = "png",
1335
1335
  annotations: bool = False,
1336
1336
  precision: int = 0,
1337
1337
  png_path: Optional[Path] = None,
@@ -1563,7 +1563,7 @@ def plot_sankey(
1563
1563
  exclude_overlap_event (bool): If True, only excludes the specific events that fall on the same date,
1564
1564
  retaining other non-overlapping events for that ID.
1565
1565
  renderer (str, optional): The renderer to use for displaying the plot. Options include
1566
- 'browser', 'notebook', 'json', 'png', 'svg', 'jpeg', 'webp', or 'pdf'.
1566
+ 'browser', None, 'json', 'png', 'svg', 'jpeg', 'webp', or 'pdf'.
1567
1567
  If None, plotly's default renderer is used.
1568
1568
  show_start_node (bool): If True, adds a visual 'start' node and links all
1569
1569
  first events to it. This is useful for visualizing
@@ -1,35 +1,35 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.3
2
2
  Name: pandas-plots
3
- Version: 0.15.5
3
+ Version: 0.15.6
4
4
  Summary: A collection of helper for table handling and visualization
5
- Project-URL: Homepage, https://github.com/smeisegeier/pandas-plots
6
- Project-URL: Repository, https://github.com/smeisegeier/pandas-plots
7
- Project-URL: Bug Tracker, https://github.com/smeisegeier/pandas-plots/issues
5
+ Keywords: tables,pivot,plotly,venn,plot,vizualization
6
+ Author: smeisegeier
8
7
  Author-email: smeisegeier <dexterDSD@googlemail.com>
9
- License-File: LICENSE
10
- Keywords: pivot,plot,plotly,tables,venn,vizualization
11
- Classifier: Development Status :: 4 - Beta
12
- Classifier: Intended Audience :: Science/Research
13
8
  Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Operating System :: OS Independent
15
9
  Classifier: Programming Language :: Python :: 3
16
10
  Classifier: Programming Language :: Python :: 3.12
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Operating System :: OS Independent
17
14
  Classifier: Topic :: Scientific/Engineering
18
- Requires-Python: >=3.10
19
- Requires-Dist: connection-helper>=0.12
20
- Requires-Dist: dataframe-image>=0.2.6
21
- Requires-Dist: duckdb>=1.3.0
22
- Requires-Dist: jinja2>=3.1.4
15
+ Requires-Dist: pandas>=2.0.0
16
+ Requires-Dist: plotly>=6.2
23
17
  Requires-Dist: kaleido>=1
24
- Requires-Dist: matplotlib-venn==0.11.10
25
18
  Requires-Dist: matplotlib>=3.8.2
19
+ Requires-Dist: matplotlib-venn==0.11.10
20
+ Requires-Dist: seaborn>=0.13.2
21
+ Requires-Dist: jinja2>=3.1.4
22
+ Requires-Dist: requests>=2.32.0
23
+ Requires-Dist: numpy<2.0.0
26
24
  Requires-Dist: missingno>=0.5.2
25
+ Requires-Dist: duckdb>=1.3.0
27
26
  Requires-Dist: nbformat>=4.2.0
28
- Requires-Dist: numpy<2.0.0
29
- Requires-Dist: pandas>=2.0.0
30
- Requires-Dist: plotly>=6.2
31
- Requires-Dist: requests>=2.32.0
32
- Requires-Dist: seaborn>=0.13.2
27
+ Requires-Dist: dataframe-image>=0.2.6
28
+ Requires-Dist: connection-helper>=0.12
29
+ Requires-Python: >=3.10
30
+ Project-URL: Bug Tracker, https://github.com/smeisegeier/pandas-plots/issues
31
+ Project-URL: Homepage, https://github.com/smeisegeier/pandas-plots
32
+ Project-URL: Repository, https://github.com/smeisegeier/pandas-plots
33
33
  Description-Content-Type: text/markdown
34
34
 
35
35
  # pandas-plots
@@ -0,0 +1,9 @@
1
+ pandas_plots/.DS_Store,sha256=e90dd27d76d30869e4b3244fc211ad13e2acf715d00902d8cc1501e123fbf26d,6148
2
+ pandas_plots/__init__.py,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
3
+ pandas_plots/hlp.py,sha256=cfcaeb54d6c7f6a32885d5cf4fe164b0ff959133a32346c6163e3b4b0e69dda6,21141
4
+ pandas_plots/pls.py,sha256=33d4f988d959cfb7a8ba0200f3f7a8e4f3d8ab3b9b398af5f76011d43b9e04c2,65031
5
+ pandas_plots/tbl.py,sha256=611f96ab649734506a82a0499dcaca3e2adbd2104a04b9be03c1f606a931688e,33057
6
+ pandas_plots/ven.py,sha256=db1dc00a8daf49f3b7aba7eff94743434875489cadf160a1046804e520c27429,11673
7
+ pandas_plots-0.15.6.dist-info/WHEEL,sha256=93de19be7d53119d6ff54257ff9c5f7ccc85e74dcd153606ae40561b2cc06a21,78
8
+ pandas_plots-0.15.6.dist-info/METADATA,sha256=d3fd593da2fc17a0fc10ecc6673b69e6547ea104919cd7470d6094e2f591d485,7999
9
+ pandas_plots-0.15.6.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.8.8
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -1,9 +0,0 @@
1
- pandas_plots/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- pandas_plots/hlp.py,sha256=z8rrVNbH9qMohdXPT-FksP-VkTOjI0bGFj47Sw5p3aY,21141
3
- pandas_plots/pls.py,sha256=AVi4pexDoJPUCAntrf1OlBvu_Jiwi22zKB01nVL42AM,65107
4
- pandas_plots/tbl.py,sha256=YR-Wq2SXNFBqgqBJncrKPirb0hBKBLm-A8H2BqkxaI4,33057
5
- pandas_plots/ven.py,sha256=2x3ACo2vSfO3q6fv-UdDQ0h1SJyt8WChBGgE5SDCdCk,11673
6
- pandas_plots-0.15.5.dist-info/METADATA,sha256=KwyTlqPc0wCHLHahN2tGmCNSbwdTeGppwy5QJFF2xsk,8001
7
- pandas_plots-0.15.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- pandas_plots-0.15.5.dist-info/licenses/LICENSE,sha256=ltLbQWUCs-GBQlTPXbt5nHNBE9U5LzjjoS1Y8hHETM4,1051
9
- pandas_plots-0.15.5.dist-info/RECORD,,
@@ -1,4 +0,0 @@
1
- Wheel-Version: 1.0
2
- Generator: hatchling 1.27.0
3
- Root-Is-Purelib: true
4
- Tag: py3-none-any
@@ -1,7 +0,0 @@
1
- Copyright 2025 smeisegeier
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.