38512d92a8682a62e73c5b9e86366888be374532,dragonn/vis/__init__.py,,plot_ism,#,83
Before Change
axes[1].set_xlim(xlim)
if ylim!=None:
axes[0].set_ylim(ylim)
axes[1].set_ylim(ylim)
plt.set_cmap("RdBu")
plt.tight_layout()
plt.colorbar(hmap,ax=axes[1],orientation="horizontal")
After Change
ymax=np.amax(ism_mat)
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:
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: arviz-devs/arviz
Commit Name: aee37a2471694eba60816541671c1f892ce2feeb
Time: 2020-08-27
Author: agustinaarroyuelo@gmail.com
File Name: arviz/plots/backends/matplotlib/traceplot.py
Class Name:
Method Name: plot_trace
Project Name: arviz-devs/arviz
Commit Name: 1b2ecdd33090c5a9c726d6d3b3c365d5db56f272
Time: 2020-04-05
Author: oriol.abril.pla@gmail.com
File Name: arviz/plots/backends/matplotlib/pairplot.py
Class Name:
Method Name: plot_pair