funcnodes-span 0.3.3__tar.gz → 0.3.4__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: funcnodes-span
3
- Version: 0.3.3
3
+ Version: 0.3.4
4
4
  Summary: SPectral ANalysis (SPAN) for funcnodes
5
5
  License: MIT
6
6
  Author: Kourosh Rezaei
@@ -7,7 +7,7 @@ from .baseline import BASELINE_NODE_SHELF as BASELINE
7
7
  from funcnodes_lmfit import NODE_SHELF as LMFIT_NODE_SHELF
8
8
  from .curves import CURVES_NODE_SHELF
9
9
 
10
- __version__ = "0.3.3"
10
+ __version__ = "0.3.4"
11
11
 
12
12
  NODE_SHELF = fn.Shelf(
13
13
  name="Spectral Analysis",
@@ -362,8 +362,9 @@ def plot_peaks(
362
362
  peak.x_at_f_index,
363
363
  peak.x_at_f_index,
364
364
  peak.x_at_i_index,
365
+ peak.x_at_i_index,
365
366
  ],
366
- y=[plot_y_min, plot_y_min, peak_height, peak_height],
367
+ y=[plot_y_min, plot_y_min, peak_height, peak_height, plot_y_min],
367
368
  fill="toself" if fill_rectangles else None,
368
369
  fillcolor=peaks_colors[index % len(peaks_colors)]
369
370
  if fill_rectangles
@@ -413,6 +414,9 @@ def plot_peaks(
413
414
  plot_bgcolor="white",
414
415
  paper_bgcolor="white",
415
416
  showlegend=show_legend,
417
+ font=dict(family="Arial", size=14),
418
+ xaxis=dict(title_font=dict(size=16), tickfont=dict(size=14)),
419
+ # yaxis=dict(title_font=dict(size=16), tickfont=dict(size=14), tickformat=".2e"),
416
420
  )
417
421
 
418
422
  return fig
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "funcnodes-span"
3
- version = "0.3.3"
3
+ version = "0.3.4"
4
4
  description = "SPectral ANalysis (SPAN) for funcnodes"
5
5
  authors = ["Kourosh Rezaei <kouroshrezaei90@gmail.com>"]
6
6
  readme = "README.md"
File without changes
File without changes