valyte 0.1.4__tar.gz → 0.1.6__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.2
2
2
  Name: valyte
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: A comprehensive CLI tool for VASP pre-processing (Supercells, K-points) and post-processing (DOS, Band Structure plotting)
5
5
  Home-page: https://github.com/nikyadav002/Valyte-Project
6
6
  Author: Nikhil
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="valyte",
5
- version="0.1.4",
5
+ version="0.1.6",
6
6
  packages=find_packages(),
7
7
  install_requires=[
8
8
  "numpy",
@@ -60,15 +60,19 @@ def gradient_fill(x, y, ax=None, color=None, xlim=None, **kwargs):
60
60
 
61
61
  # Gradient: transparent at bottom (y=0), opaque near the curve
62
62
  # This creates a gradient from bottom to top of the filled area
63
- alpha_gradient = np.linspace(0.05, 0.75, 100)
63
+ # Boosted range for better visibility as per user request
64
+ alpha_vals = np.linspace(0.3, 0.9, 100)
65
+
66
+ # Scale by the line's alpha
67
+ alpha_vals *= alpha
64
68
 
65
69
  # If data is negative (Spin Down), we want opaque at bottom (peak) and transparent at top (axis)
66
70
  # Current extent is [ymin, ymax]. ymin is bottom. ymax is top (0).
67
71
  # So we want High Alpha at index 0 and Low Alpha at index 100.
68
72
  if np.mean(y) < 0:
69
- alpha_gradient = alpha_gradient[::-1]
73
+ alpha_vals = alpha_vals[::-1]
70
74
 
71
- z[:, :, -1] = alpha_gradient[:, None]
75
+ z[:, :, -1] = alpha_vals[:, None]
72
76
 
73
77
  xmin, xmax = x.min(), x.max()
74
78
  ymin, ymax = min(y.min(), 0), max(y.max(), 0)
@@ -298,24 +302,24 @@ def plot_dos(dos, pdos, out="valyte_dos.png",
298
302
  # Expanded color palette for better distinction
299
303
  # Reordered to maximize contrast between consecutive items
300
304
  palette = [
301
- "#E63946", # Red (Warm)
302
- "#023E8A", # Royal Blue (Cool)
303
- "#FB8500", # Orange (Warm)
304
- "#007F5F", # Deep Green (Cool)
305
- "#D00000", # Crimson (Warm)
306
- "#4CC9F0", # Sky Blue (Cool)
307
- "#7209B7", # Purple (Warm-ish)
308
- "#80B918", # Lime Green (Cool)
309
- "#F72585", # Pink (Warm)
310
- "#4895EF", # Light Blue (Cool)
311
- "#9D0208", # Dark Red (Warm)
312
- "#480CA8", # Indigo (Cool)
313
- "#FFB703", # Yellow/Gold (Warm)
314
- "#3A0CA3", # Dark Blue (Cool)
315
- "#641220", # Maroon (Warm)
316
- "#560BAD", # Violet (Cool)
317
- "#F15BB5", # Rose (Warm)
318
- "#3F37C9" # Blue Violet (Cool)
305
+ "#4b0082", # Indigo
306
+ "#0096c7", # Cyan
307
+ "#e63946", # Red
308
+ "#023e8a", # Royal Blue
309
+ "#ffb703", # Yellow
310
+ "#2a9d8f", # Teal
311
+ "#8e44ad", # Purple
312
+ "#118ab2", # Light Blue
313
+ "#d62828", # Dark Red
314
+ "#00b4d8", # Sky Blue
315
+ "#f4a261", # Orange
316
+ "#003049", # Dark Blue
317
+ "#6a994e", # Green
318
+ "#48cae4", # Light Cyan
319
+ "#0077b6", # Blue
320
+ "#90e0ef", # Pale Blue
321
+ "#ade8f4", # Very Pale Blue
322
+ "#caf0f8" # White Blue
319
323
  ]
320
324
  lines, labels = [], []
321
325
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: valyte
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: A comprehensive CLI tool for VASP pre-processing (Supercells, K-points) and post-processing (DOS, Band Structure plotting)
5
5
  Home-page: https://github.com/nikyadav002/Valyte-Project
6
6
  Author: Nikhil
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes