toolsos 0.2.2__py3-none-any.whl → 0.2.3__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.
@@ -5,7 +5,16 @@ from .styler import BaseStyle
5
5
  basestyle = BaseStyle()
6
6
 
7
7
 
8
- def line(data, x, y, color: None, width=750, height=490, **kwargs):
8
+ def line(
9
+ data,
10
+ x,
11
+ y,
12
+ color: None,
13
+ width=750,
14
+ height=490,
15
+ color_discrete_sequence=None,
16
+ **kwargs,
17
+ ):
9
18
  fig = px.line(
10
19
  data_frame=data,
11
20
  x=x,
@@ -13,6 +22,7 @@ def line(data, x, y, color: None, width=750, height=490, **kwargs):
13
22
  color=color,
14
23
  width=width,
15
24
  height=height,
25
+ color_discrete_sequence=color_discrete_sequence,
16
26
  template=BaseStyle().get_base_template(graph_type="line"),
17
27
  **kwargs,
18
28
  )
@@ -1,4 +1,5 @@
1
1
  import plotly.express as px
2
+
2
3
  from .styler import BaseStyle
3
4
 
4
5
  basestyle = BaseStyle()
@@ -12,6 +13,7 @@ def pie(
12
13
  width=750,
13
14
  height=490,
14
15
  text_format: str = None,
16
+ color_discrete_sequence=None,
15
17
  **kwargs,
16
18
  ):
17
19
  fig = px.pie(
@@ -22,6 +24,7 @@ def pie(
22
24
  height=height,
23
25
  hole=hole,
24
26
  template=BaseStyle().get_base_template(),
27
+ color_discrete_sequence=color_discrete_sequence,
25
28
  **kwargs,
26
29
  )
27
30
 
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: toolsos
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: OS tools
5
5
  Author-email: OS <d.schmitz@amsterdam.nl>
6
6
  Keywords: tools,Onderzoek & Statistiek
7
7
  Classifier: License :: OSI Approved :: MIT License
8
8
  Classifier: Programming Language :: Python
9
9
  Classifier: Programming Language :: Python :: 3
10
- Requires-Python: >=3.11
10
+ Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  Provides-Extra: all
13
13
  Requires-Dist: keyring ; extra == 'all'
@@ -12,14 +12,14 @@ toolsos/huisstijl/colors.py,sha256=lSCHCdSjge5cGfLfAObd6mV6TaXq3QGImLOmoGJpGkw,1
12
12
  toolsos/huisstijl/graphs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  toolsos/huisstijl/graphs/bargraph.py,sha256=02-2UCnGyvSKXRSOt-f5WuYu8_-6x9tFEkSi-FdD654,2582
14
14
  toolsos/huisstijl/graphs/graph_styles.py,sha256=kiGEo6yyCEywViG17VsM_nUEHhWQ3yQQK5I-NV0Hz34,827
15
- toolsos/huisstijl/graphs/linegraph.py,sha256=xTYgBwY_aaWnOL9Oz9Ogzhis9OIkEhDSIBk2Pq8Ktms,527
16
- toolsos/huisstijl/graphs/piegraph.py,sha256=Pzc3vrbvlkv40V3OYWh6bDDc5arRRwJq7dfRzplPKWY,571
15
+ toolsos/huisstijl/graphs/linegraph.py,sha256=5ByYMviUU8t9dyN6WDfKjub85opga4krNKQArRdTSro,659
16
+ toolsos/huisstijl/graphs/piegraph.py,sha256=WV-BoovbVu3bGjlT6zNMDDUEcngwOkVpH7RsRYMwOjA,666
17
17
  toolsos/huisstijl/graphs/styler.py,sha256=XmPLX8sRxcH2OFWn49hzZ6IhAlmCHjUC_m9LKE9c3Sw,6626
18
18
  toolsos/huisstijl/tables/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  toolsos/huisstijl/tables/table_helpers.py,sha256=jsQ6lw93sxtGJGrUn8X2_LyA2vYYnytngpUI5A_wpWQ,2037
20
20
  toolsos/huisstijl/tables/table_styles.py,sha256=oYU6GJcfqlKpZof5PUjPsA7woJ3Tew78CHPyT0_jY6w,1343
21
21
  toolsos/huisstijl/tables/tables.py,sha256=GDoo526nXq61tWM86KFaPy67ZmCza9GhkkksW_ATtM4,23575
22
- toolsos-0.2.2.dist-info/METADATA,sha256=-3UieU8bcMm51-B6N1wdf8atHpOZFCdjakc7D1hp4Bk,2433
23
- toolsos-0.2.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
24
- toolsos-0.2.2.dist-info/top_level.txt,sha256=2ClEjUBbtfDQ8oPwvWRy1Sz2nrkLCXlg0mHaMdCWia0,8
25
- toolsos-0.2.2.dist-info/RECORD,,
22
+ toolsos-0.2.3.dist-info/METADATA,sha256=ZjhOdYrXZy4HkjpA2wP_XTU08hh4_SMX7r3FfsiB8R8,2433
23
+ toolsos-0.2.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
24
+ toolsos-0.2.3.dist-info/top_level.txt,sha256=2ClEjUBbtfDQ8oPwvWRy1Sz2nrkLCXlg0mHaMdCWia0,8
25
+ toolsos-0.2.3.dist-info/RECORD,,