60d7d5fd53950c167ab3e3b7a22cf5e6a88466c9,hypertools/plot/plot.py,,plot,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,27
Before Change
// convert all nans to zeros
for xi in xform:
np.nan_to_num(xi, copy=False)
// draw the plot
fig, ax, data, line_ani = _draw(xform, fmt=draw_fmt,
kwargs_list=kwargs_list,
After Change
// convert all nans to zeros
for i, xi in enumerate(xform):
xform[i] = np.nan_to_num(xi)
// draw the plot
fig, ax, data, line_ani = _draw(xform, fmt=draw_fmt,
kwargs_list=kwargs_list,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: ContextLab/hypertools
Commit Name: 60d7d5fd53950c167ab3e3b7a22cf5e6a88466c9
Time: 2018-04-06
Author: andrew.heusser@gmail.com
File Name: hypertools/plot/plot.py
Class Name:
Method Name: plot
Project Name: analysiscenter/batchflow
Commit Name: d1f5daddec19674a6be09d8d18ad1c047603de82
Time: 2021-03-17
Author: alexey.a.kozhevin@gmail.com
File Name: batchflow/models/metrics/classify.py
Class Name: ClassificationMetrics
Method Name: f1_score
Project Name: biolab/orange3
Commit Name: 415be180b13e088d2efb47cb0dc7285c989ab293
Time: 2017-08-18
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/distance/__init__.py
Class Name: Cosine
Method Name: fit_rows
Project Name: deepchem/deepchem
Commit Name: 18920ba0284e0458c5d2e9cbe8d744285575acb0
Time: 2020-07-07
Author: bharath@Bharaths-MBP.zyxel.com
File Name: deepchem/trans/transformers.py
Class Name: MinMaxTransformer
Method Name: transform_array