0d2248d0ad58a53b148b9070f5a7deeead1d4b8e,Python/phate/plot.py,,_auto_params,#Any#Any#Any#Any#Any#,38
Before Change
if discrete:
c, labels = pd.factorize(c)
if cmap is None and len(np.unique(c)) <= 10:
c = mpl.cm.tab10(np.linspace(0, 1, 10))[c]
cmap = None
else:
cmap = "tab20"
After Change
if discrete:
print("Assuming discrete data.")
else:
print("Assuming continuous data.")
if discrete:
c, labels = pd.factorize(c)
if cmap is None and len(np.unique(c)) <= 10:
cmap = mpl.colors.ListedColormap(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: KrishnaswamyLab/PHATE
Commit Name: 0d2248d0ad58a53b148b9070f5a7deeead1d4b8e
Time: 2018-06-25
Author: scottgigante@gmail.com
File Name: Python/phate/plot.py
Class Name:
Method Name: _auto_params
Project Name: biotite-dev/biotite
Commit Name: c9c407951adfd5c101a1875e2761db98eb1f8fa8
Time: 2020-08-18
Author: patrick.kunzm@gmail.com
File Name: doc/examples/scripts/sequence/quality_control.py
Class Name:
Method Name:
Project Name: HyperGAN/HyperGAN
Commit Name: cc8c2ed1a3ede46ec178e0b219e18c8456e34a16
Time: 2017-05-19
Author: mikkel@255bits.com
File Name: hypergan/samplers/static_batch_sampler.py
Class Name:
Method Name: sample