pandas-plots 0.12.8__py3-none-any.whl → 0.12.9__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/pls.py +6 -2
- {pandas_plots-0.12.8.dist-info → pandas_plots-0.12.9.dist-info}/METADATA +1 -1
- pandas_plots-0.12.9.dist-info/RECORD +11 -0
- pandas_plots-0.12.8.dist-info/RECORD +0 -11
- {pandas_plots-0.12.8.dist-info → pandas_plots-0.12.9.dist-info}/LICENSE +0 -0
- {pandas_plots-0.12.8.dist-info → pandas_plots-0.12.9.dist-info}/WHEEL +0 -0
- {pandas_plots-0.12.8.dist-info → pandas_plots-0.12.9.dist-info}/pii.py +0 -0
- {pandas_plots-0.12.8.dist-info → pandas_plots-0.12.9.dist-info}/top_level.txt +0 -0
pandas_plots/pls.py
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
from pathlib import Path
|
2
|
+
import warnings
|
3
|
+
|
4
|
+
warnings.filterwarnings("ignore")
|
2
5
|
|
3
6
|
import os
|
4
7
|
from typing import Optional, Literal
|
@@ -417,10 +420,11 @@ def plot_stacked_bars(
|
|
417
420
|
# # categories=sort_order,
|
418
421
|
# ordered=True,
|
419
422
|
# )
|
423
|
+
|
420
424
|
df = (
|
421
|
-
df.sort_values(by="index", ascending=False)
|
425
|
+
df.sort_values(by=["col","index"], ascending=[True, False])
|
422
426
|
if orientation == "h"
|
423
|
-
else df.sort_values(by="index", ascending=True)
|
427
|
+
else df.sort_values(by=["index","col"], ascending=[True, True])
|
424
428
|
)
|
425
429
|
|
426
430
|
# display(df)
|
@@ -0,0 +1,11 @@
|
|
1
|
+
pandas_plots/hlp.py,sha256=N6NrbFagVMMX-ZnV0rIBEz82SeSoOkksfMcCap55W7E,16588
|
2
|
+
pandas_plots/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
|
3
|
+
pandas_plots/pls.py,sha256=qbxGTqJtgl6708IkZD2Z3q8V8PDQNn-54s8XKayoqXw,47506
|
4
|
+
pandas_plots/tbl.py,sha256=tuTDRFaD4lKQ2fMeMCJwnJL65zXuUGVQ6uwQNVa0y6Q,31883
|
5
|
+
pandas_plots/ven.py,sha256=2x3ACo2vSfO3q6fv-UdDQ0h1SJyt8WChBGgE5SDCdCk,11673
|
6
|
+
pandas_plots-0.12.9.dist-info/LICENSE,sha256=6KQ5KVAAhRaB-JJKpX4cefKvRZRgI7GUPc92_2d31XY,1051
|
7
|
+
pandas_plots-0.12.9.dist-info/METADATA,sha256=BTlIgGeYF9x-YprSwt50wJwQX9w9ozGTHBZGaDWjVH4,7358
|
8
|
+
pandas_plots-0.12.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
9
|
+
pandas_plots-0.12.9.dist-info/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
|
10
|
+
pandas_plots-0.12.9.dist-info/top_level.txt,sha256=XnaNuIHBqMmCeh_U7nKOYTwFue_SIA0wxuDgdPmnnSk,13
|
11
|
+
pandas_plots-0.12.9.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
pandas_plots/hlp.py,sha256=N6NrbFagVMMX-ZnV0rIBEz82SeSoOkksfMcCap55W7E,16588
|
2
|
-
pandas_plots/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
|
3
|
-
pandas_plots/pls.py,sha256=8wqdoE8hXr1nwQH1Q4KelAso49txb-CyVwVKoqt_xeY,47422
|
4
|
-
pandas_plots/tbl.py,sha256=tuTDRFaD4lKQ2fMeMCJwnJL65zXuUGVQ6uwQNVa0y6Q,31883
|
5
|
-
pandas_plots/ven.py,sha256=2x3ACo2vSfO3q6fv-UdDQ0h1SJyt8WChBGgE5SDCdCk,11673
|
6
|
-
pandas_plots-0.12.8.dist-info/LICENSE,sha256=6KQ5KVAAhRaB-JJKpX4cefKvRZRgI7GUPc92_2d31XY,1051
|
7
|
-
pandas_plots-0.12.8.dist-info/METADATA,sha256=ARFgg-_KdNUg5q0qa4Zhh7o12Bh2VsTWeh-45hHO0D0,7358
|
8
|
-
pandas_plots-0.12.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
9
|
-
pandas_plots-0.12.8.dist-info/pii.py,sha256=2WKE-W9s285jPdsTqCgt1uxuW4lj1PYCVOYB2fYDNwQ,2195
|
10
|
-
pandas_plots-0.12.8.dist-info/top_level.txt,sha256=XnaNuIHBqMmCeh_U7nKOYTwFue_SIA0wxuDgdPmnnSk,13
|
11
|
-
pandas_plots-0.12.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|