direl-ts-tool-kit 0.10.0__tar.gz → 0.10.2__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.4
2
2
  Name: direl-ts-tool-kit
3
- Version: 0.10.0
3
+ Version: 0.10.2
4
4
  Summary: A toolbox for time series analysis and visualization.
5
5
  Home-page: https://gitlab.com/direl/direl_tool_kit
6
6
  Author: Diego Restrepo-Leal
@@ -13,6 +13,7 @@ def plot_time_series(
13
13
  time_unit="Year",
14
14
  rot=90,
15
15
  auto_format_label=True,
16
+ sci=False
16
17
  ):
17
18
  """
18
19
  Plots a time series with custom styling and dual-level grid visibility.
@@ -93,7 +94,9 @@ def plot_time_series(
93
94
  )
94
95
 
95
96
  ax.set(xlabel=f"{time_unit}", ylabel=f"{variable} {units}")
96
- ax.ticklabel_format(style="sci", axis="y", scilimits=(0, 0))
97
+
98
+ if sci==True:
99
+ ax.ticklabel_format(style="sci", axis="y", scilimits=(0, 0))
97
100
 
98
101
  if time_unit == "Year":
99
102
  ax.xaxis.set_major_locator(mdates.YearLocator())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: direl-ts-tool-kit
3
- Version: 0.10.0
3
+ Version: 0.10.2
4
4
  Summary: A toolbox for time series analysis and visualization.
5
5
  Home-page: https://gitlab.com/direl/direl_tool_kit
6
6
  Author: Diego Restrepo-Leal
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="direl-ts-tool-kit",
5
- version="0.10.0",
5
+ version="0.10.2",
6
6
  description="A toolbox for time series analysis and visualization.",
7
7
  long_description=open("README.md", encoding="utf-8").read(),
8
8
  long_description_content_type="text/markdown",