sciv 0.0.93__tar.gz → 0.0.94__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.
Files changed (44) hide show
  1. {sciv-0.0.93 → sciv-0.0.94}/PKG-INFO +1 -1
  2. {sciv-0.0.93 → sciv-0.0.94}/pyproject.toml +1 -1
  3. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_scatter_.py +11 -11
  4. {sciv-0.0.93 → sciv-0.0.94}/.gitignore +0 -0
  5. {sciv-0.0.93 → sciv-0.0.94}/LICENSE +0 -0
  6. {sciv-0.0.93 → sciv-0.0.94}/MANIFEST.in +0 -0
  7. {sciv-0.0.93 → sciv-0.0.94}/README.en.md +0 -0
  8. {sciv-0.0.93 → sciv-0.0.94}/README.md +0 -0
  9. {sciv-0.0.93 → sciv-0.0.94}/requirements.txt +0 -0
  10. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/__init__.py +0 -0
  11. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/file/__init__.py +0 -0
  12. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/file/_read_.py +0 -0
  13. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/file/_write_.py +0 -0
  14. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/model/__init__.py +0 -0
  15. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/model/_core_.py +0 -0
  16. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/__init__.py +0 -0
  17. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_bar_.py +0 -0
  18. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_barcode_.py +0 -0
  19. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_box_.py +0 -0
  20. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_bubble_.py +0 -0
  21. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_core_.py +0 -0
  22. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_graph_.py +0 -0
  23. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_heat_map_.py +0 -0
  24. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_kde_.py +0 -0
  25. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_line_.py +0 -0
  26. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_pie_.py +0 -0
  27. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_radar_.py +0 -0
  28. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_venn_.py +0 -0
  29. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/plot/_violin_.py +0 -0
  30. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/preprocessing/__init__.py +0 -0
  31. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/preprocessing/_anndata_.py +0 -0
  32. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/preprocessing/_gencode_.py +0 -0
  33. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/preprocessing/_gsea_.py +0 -0
  34. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/preprocessing/_scanpy_.py +0 -0
  35. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/preprocessing/_scvi_.py +0 -0
  36. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/preprocessing/_snapatac_.py +0 -0
  37. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/tool/__init__.py +0 -0
  38. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/tool/_algorithm_.py +0 -0
  39. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/tool/_matrix_.py +0 -0
  40. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/tool/_random_walk_.py +0 -0
  41. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/util/__init__.py +0 -0
  42. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/util/_constant_.py +0 -0
  43. {sciv-0.0.93 → sciv-0.0.94}/src/sciv/util/_core_.py +0 -0
  44. {sciv-0.0.93 → sciv-0.0.94}/tests/scivTest/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sciv
3
- Version: 0.0.93
3
+ Version: 0.0.94
4
4
  Summary: Unveiling the pivotal cell types involved in variant function regulation at a single-cell resolution
5
5
  Project-URL: github, https://github.com/YuZhengM/sciv
6
6
  Author-email: Zheng-Min Yu <yuzmbio@163.com>
@@ -3,7 +3,7 @@ requires = ["hatchling"]
3
3
  build-backend = "hatchling.build"
4
4
  [project]
5
5
  name = "sciv"
6
- version = "0.0.93"
6
+ version = "0.0.94"
7
7
  authors = [
8
8
  { name = "Zheng-Min Yu", email = "yuzmbio@163.com" },
9
9
  ]
@@ -163,11 +163,13 @@ def scatter_3d(
163
163
  y_name: str = None,
164
164
  z_name: str = None,
165
165
  title: str = None,
166
- width: float = 2,
167
- height: float = 2,
166
+ width: float = 7,
167
+ height: float = 7,
168
168
  bottom: float = 0,
169
+ cmap: str = 'tab20',
170
+ font_size: int = 14,
169
171
  edge_color: str = None,
170
- size: Union[float, collection] = 1.0,
172
+ size: Union[float, collection] = 0.1,
171
173
  legend_name: str = None,
172
174
  output: path = None,
173
175
  show: bool = True,
@@ -188,25 +190,23 @@ def scatter_3d(
188
190
  df[y],
189
191
  df[z],
190
192
  c=hue_cat.codes,
191
- cmap='tab20',
193
+ cmap=cmap,
192
194
  s=size,
193
195
  edgecolors=edge_color,
194
196
  **kwargs
195
197
  )
196
198
 
197
- # 设置坐标轴标签和标题
198
-
199
199
  if x_name is not None:
200
- ax.set_xlabel(x_name)
200
+ ax.set_xlabel(x_name, fontsize=font_size)
201
201
 
202
202
  if y_name is not None:
203
- ax.set_ylabel(y_name)
203
+ ax.set_ylabel(y_name, fontsize=font_size)
204
204
 
205
205
  if z_name is not None:
206
- ax.set_zlabel(z_name)
206
+ ax.set_zlabel(z_name, fontsize=font_size)
207
207
 
208
208
  if title is not None:
209
- ax.set_title(title)
209
+ ax.set_title(title, fontsize=font_size)
210
210
 
211
211
  unique_types = hue_cat.categories
212
212
  legend_elements = [
@@ -217,7 +217,7 @@ def scatter_3d(
217
217
  for i, type_ in enumerate(unique_types)
218
218
  ]
219
219
 
220
- ax.legend(handles=legend_elements, title=legend_name, bbox_to_anchor=(1.05, 1), loc='upper left')
220
+ ax.legend(handles=legend_elements, title=legend_name, loc='upper left')
221
221
 
222
222
  plot_end(fig, None, None, None, output, show, close)
223
223
 
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
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes