sciv 0.0.93__py3-none-any.whl → 0.0.94__py3-none-any.whl
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.
sciv/plot/_scatter_.py
CHANGED
|
@@ -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 =
|
|
167
|
-
height: float =
|
|
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
|
|
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=
|
|
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,
|
|
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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sciv
|
|
3
|
-
Version: 0.0.
|
|
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>
|
|
@@ -16,7 +16,7 @@ sciv/plot/_kde_.py,sha256=9VC6DKHbQAzKenz4DoiL5LgUzEJBtAWXXPCLxOV74kY,2459
|
|
|
16
16
|
sciv/plot/_line_.py,sha256=P944YoGxSocHncjtme4n_iIPK9sghNW3-Xee6Tyy4HE,3850
|
|
17
17
|
sciv/plot/_pie_.py,sha256=OVPv85MdjkjABh-uP5Y-KVk1VygFIzz87QT3OE1hZjU,6399
|
|
18
18
|
sciv/plot/_radar_.py,sha256=g_abzmzibJIR6it59TendUI236inbzYl0IzzdoA3Uuc,6304
|
|
19
|
-
sciv/plot/_scatter_.py,sha256=
|
|
19
|
+
sciv/plot/_scatter_.py,sha256=anBkPEZM-mmIsHwNUqUeOZhvqqWA8KhjpwhgTQ6f2yA,16771
|
|
20
20
|
sciv/plot/_venn_.py,sha256=TfNTuxog2pT7sicKBEEMtleoHXwnenbl3CMWJu9c2vs,2675
|
|
21
21
|
sciv/plot/_violin_.py,sha256=40LYeHFYyNL1XbKHTjmwLT0zzh7o5emqN9Gl2sbl-DA,6458
|
|
22
22
|
sciv/preprocessing/__init__.py,sha256=56RgDai5I3sZ4hl3aaV80ogOeUscYsU3nJUWE80jZ-k,742
|
|
@@ -33,7 +33,7 @@ sciv/tool/_random_walk_.py,sha256=lnMiJyDuqDB75l9IkFLr7bIgKYhWxlBdIcExSErpQNw,48
|
|
|
33
33
|
sciv/util/__init__.py,sha256=nOxZ8if27X7AUJ6hZwTwxOJwIBJb0obWlHjqCzjg_Gc,1964
|
|
34
34
|
sciv/util/_constant_.py,sha256=w0wKQd8guLd1ZTW24_5aECrWsIWDiNQmEpLsWlHar1A,3000
|
|
35
35
|
sciv/util/_core_.py,sha256=hF33ybPcoVlapZsm-2Etem-p_rQUqXlsdaQgZv5jD7w,14867
|
|
36
|
-
sciv-0.0.
|
|
37
|
-
sciv-0.0.
|
|
38
|
-
sciv-0.0.
|
|
39
|
-
sciv-0.0.
|
|
36
|
+
sciv-0.0.94.dist-info/METADATA,sha256=g-CN3-jgeDFTw0PYmoOB5CT2OvDBa86XrbStZh-xk8I,3465
|
|
37
|
+
sciv-0.0.94.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
38
|
+
sciv-0.0.94.dist-info/licenses/LICENSE,sha256=4UvHVf3qCOZjHLs4LkYz8u96XRpXnZrpTKrkUQPs5_A,1075
|
|
39
|
+
sciv-0.0.94.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|