Skip to content

Conversation

@flying-sheep
Copy link
Member

@flying-sheep flying-sheep commented Dec 22, 2025

  • Closes #
  • Tests included or not required because:

TODO:

@flying-sheep flying-sheep added this to the 1.12.0 milestone Dec 22, 2025
@codecov
Copy link

codecov bot commented Dec 22, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.91%. Comparing base (28a1ed4) to head (a2074b7).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/scanpy/external/exporting.py 0.00% 3 Missing ⚠️
src/scanpy/_utils/__init__.py 81.81% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3929      +/-   ##
==========================================
+ Coverage   76.89%   76.91%   +0.01%     
==========================================
  Files         117      117              
  Lines       12450    12460      +10     
==========================================
+ Hits         9574     9583       +9     
- Misses       2876     2877       +1     
Flag Coverage Δ
hatch-test.pre 76.91% <85.71%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/scanpy/get/get.py 92.85% <ø> (ø)
src/scanpy/plotting/_anndata.py 85.58% <100.00%> (ø)
src/scanpy/plotting/_dotplot.py 93.48% <100.00%> (ø)
src/scanpy/plotting/_matrixplot.py 96.62% <100.00%> (ø)
src/scanpy/plotting/_scrublet.py 92.15% <100.00%> (ø)
src/scanpy/plotting/_stacked_violin.py 86.06% <100.00%> (ø)
src/scanpy/plotting/_tools/__init__.py 77.02% <100.00%> (+0.25%) ⬆️
src/scanpy/preprocessing/_highly_variable_genes.py 95.03% <100.00%> (ø)
src/scanpy/_utils/__init__.py 77.22% <81.81%> (+0.06%) ⬆️
src/scanpy/external/exporting.py 13.38% <0.00%> (ø)

@flying-sheep
Copy link
Member Author

Other seaborn bug under pandas 3:

grafik

sv.parquet.zip

import pandas as pd
import seaborn as sns
from matplotlib import pyplot as plt

df = pd.read_parquet("sv.parquet")

x_axis_order = pd.Index(
    [
        "Gata2_0",
        "Gata1_1",
        "Fog1_2",
        "EKLF_3",
        "Fli1_4",
        "SCL_5",
        "Cebpa_6",
        "Pu.1_7",
        "cJun_8",
        "EgrNab_9",
        "Gfi1_10",
    ],
    dtype="object",
)

sns.violinplot(
    x="genes",
    y="values",
    data=df,
    orient="v",
    hue="genes",
    color=None,
    order=x_axis_order,
    hue_order=x_axis_order,
    cut=0,
    inner=None,
    linewidth=0.2,
    density_norm="width",
)

plt.show(block=True)

@flying-sheep flying-sheep self-assigned this Dec 30, 2025
Copy link
Contributor

@ilan-gold ilan-gold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it just violin or everything with hue in seaborn? other than that looks good

]
overrides.matrix.deps.extra-dependencies = [
{ if = [ "pre" ], value = "anndata @ git+https://github.com/scverse/anndata.git" },
{ if = [ "pre" ], value = "pandas>=3rc0" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷 uv chose to resolve things without pandas 3rc0 without it

@flying-sheep flying-sheep enabled auto-merge (squash) December 30, 2025 16:09
@flying-sheep flying-sheep merged commit b103908 into main Dec 30, 2025
14 checks passed
@flying-sheep flying-sheep deleted the pa/pandas-3 branch December 30, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants