M3Drop 0.4.54__tar.gz → 0.4.55__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: M3Drop
3
- Version: 0.4.54
3
+ Version: 0.4.55
4
4
  Summary: A Python implementation of the M3Drop single-cell RNA-seq analysis tool.
5
5
  Home-page: https://github.com/PragalvhaSharma/m3DropNew
6
6
  Author: Tallulah Andrews
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: M3Drop
3
- Version: 0.4.54
3
+ Version: 0.4.55
4
4
  Summary: A Python implementation of the M3Drop single-cell RNA-seq analysis tool.
5
5
  Home-page: https://github.com/PragalvhaSharma/m3DropNew
6
6
  Author: Tallulah Andrews
@@ -306,12 +306,12 @@ def NBumiPearsonResidualsCombinedGPU(
306
306
  ax.set_xlabel("Mean Raw Expression (log)")
307
307
  ax.set_ylabel("Variance of Residuals (log)")
308
308
  ax.legend()
309
- ax.grid(True, which='both', linestyle='--', alpha=0.5) # Enhanced Grid
309
+ ax.grid(True, which='both', linestyle='--', alpha=0.5)
310
310
  ax.text(0.5, -0.15, "Goal: Blue dots should form a flat line at y=1",
311
311
  transform=ax.transAxes, ha='center', fontsize=9,
312
312
  bbox=dict(facecolor='#f0f0f0', edgecolor='black', alpha=0.7))
313
313
 
314
- # Plot 3: Distribution (Histogram + KDE Overlay)
314
+ # Plot 3: Distribution (Histogram + KDE Overlay) - LOG SCALE FIXED
315
315
  ax = ax1[1]
316
316
  if len(flat_approx) > 100:
317
317
  mask_kde = (flat_approx > -10) & (flat_approx < 10)
@@ -325,8 +325,10 @@ def NBumiPearsonResidualsCombinedGPU(
325
325
  sns.kdeplot(flat_approx[mask_kde], fill=False, color='red', linewidth=2, label='Approx', ax=ax, warn_singular=False)
326
326
  sns.kdeplot(flat_full[mask_kde], fill=False, color='blue', linewidth=2, label='Full', ax=ax, warn_singular=False)
327
327
 
328
+ ax.set_yscale('log') # <--- THE CRITICAL FIX FOR "SHIT GRAPH"
329
+ ax.set_ylim(bottom=0.001) # Safety floor for log(0)
328
330
  ax.set_xlim(-5, 5)
329
- ax.set_title("Distribution of Residuals")
331
+ ax.set_title("Distribution of Residuals (Log Scale)")
330
332
  ax.set_xlabel("Residual Value")
331
333
  ax.legend()
332
334
  ax.grid(True, alpha=0.3)
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="M3Drop", # Name for pip (pip install M3Drop)
8
- version="0.4.54",
8
+ version="0.4.55",
9
9
  author="Tallulah Andrews",
10
10
  author_email="tandrew6@uwo.ca",
11
11
  description="A Python implementation of the M3Drop single-cell RNA-seq analysis tool.",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes