Skip to content

Instantly share code, notes, and snippets.

@DoctorLoop
Created August 4, 2020 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DoctorLoop/1ae0d213d3875dd569d582c810769fc7 to your computer and use it in GitHub Desktop.
Save DoctorLoop/1ae0d213d3875dd569d582c810769fc7 to your computer and use it in GitHub Desktop.
ax1 = plt.subplot(1,3,1)
ax1.hist(predicted[:,1].reshape(-1,1),bins=[0,1,2,3],density=False, hatch="/", color='r', edgecolor='black')
ax = plt.subplot(1,3,2, sharey=ax1)
ax.hist(predicted[:,49].reshape(-1,1),bins=[0,1,2,3],density=False, color='g', edgecolor='black')
ax = plt.subplot(1,3,3,sharey=ax1)
ax.hist(predicted[:,13].reshape(-1,1),bins=[0,1,2,3],density=False, hatch=".", edgecolor='black')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment