38512d92a8682a62e73c5b9e86366888be374532,dragonn/vis/__init__.py,,plot_ism,#Any#Any#Any#Any#Any#Any#,83
Before Change
ymin=np.amin(ism_mat)
ymax=np.amax(ism_mat)
hmap=axes[1].imshow(ism_mat.T,extent=extent,vmin=ymin, vmax=ymax, interpolation="nearest",aspect="auto")
axes[1].set_yticks(np.arange(50,100*ism_mat.shape[1],100),("A","C","G","T"))
axes[1].set_xlabel("Sequence base")
if xlim!=None:
axes[0].set_xlim(xlim)
axes[1].set_xlim(xlim)
After Change
abs_highest=max([abs(ymin),abs(ymax)])
hmap=axes[1].imshow(ism_mat.T,extent=extent,vmin=-1*abs_highest, vmax=abs_highest, interpolation="nearest",aspect="auto")
axes[1].set_yticks(np.array([100,200,300,400]))
axes[1].set_yticklabels(["T","G","C","A"])
axes[1].set_xlabel("Sequence base")
if xlim!=None:
axes[0].set_xlim(xlim)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: kundajelab/dragonn
Commit Name: 38512d92a8682a62e73c5b9e86366888be374532
Time: 2019-05-29
Author: annashcherbina@gmail.com
File Name: dragonn/vis/__init__.py
Class Name:
Method Name: plot_ism
Project Name: matplotlib/matplotlib
Commit Name: a8cf29a7f6087f84d47cc9a466d5e2b80ccdea38
Time: 2019-08-25
Author: 2836374+timhoffm@users.noreply.github.com
File Name: examples/lines_bars_and_markers/bar_stacked.py
Class Name:
Method Name:
Project Name: amueller/mglearn
Commit Name: 92de7a68b58af738be28771e6336d04986e61312
Time: 2018-10-17
Author: andreas.mueller@columbia.edu
File Name: mglearn/plot_interactive_tree.py
Class Name:
Method Name: plot_tree_progressive