a81256ff13130fa425080168e79f3a548a57e604,pynets/plotting/plot_graphs.py,,plot_conn_mat,#Any#Any#Any#Any#Any#Any#,17
Before Change
conn_matrix_bin = thresholding.binarize(conn_matrix)
conn_matrix_plt = np.nan_to_num(np.multiply(conn_matrix, conn_matrix_bin))
hardcoded_params = load_runconfig()
try:
labeling_atlas = hardcoded_params["plotting"]["labeling_atlas"][0]
except KeyError as e:
print(e,
"Plotting configuration not successfully extracted"
" from runconfig.yaml"
After Change
import mplcyberpunk
from matplotlib import pyplot as plt
matplotlib.use("agg")
plt.style.use("cyberpunk")
from matplotlib import pyplot as plt
from nilearn.plotting import plot_matrix
from pynets.core import thresholding
import matplotlib.ticker as mticker
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: dPys/PyNets
Commit Name: a81256ff13130fa425080168e79f3a548a57e604
Time: 2020-12-26
Author: dpisner@utexas.edu
File Name: pynets/plotting/plot_graphs.py
Class Name:
Method Name: plot_conn_mat
Project Name: EpistasisLab/scikit-rebate
Commit Name: 7d51c2e47a41418904a76c8c744c7ec51ac8a9aa
Time: 2019-01-09
Author: alexmxu99@gmail.com
File Name: visualizer.py
Class Name:
Method Name:
Project Name: dPys/PyNets
Commit Name: a81256ff13130fa425080168e79f3a548a57e604
Time: 2020-12-26
Author: dpisner@utexas.edu
File Name: pynets/plotting/plot_graphs.py
Class Name:
Method Name: plot_community_conn_mat