Created
June 1, 2019 17:26
-
-
Save shellkore/cb865df957916c41a8658b5278e1e6f3 to your computer and use it in GitHub Desktop.
to close a plt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def plot_bar_x(): | |
# this is for plotting purpose | |
plt.bar(countPerHour,range(24)) | |
plt.title('Time vs ridership') | |
plt.xlabel('Time(Hour)') | |
plt.ylabel('Ridership') | |
plt.ion() | |
plt.show() | |
plt.pause(4) | |
plt.close('all') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment