Commit 6f640d7b authored by Manas Gabani's avatar Manas Gabani

ylabel adjusted for distribution graphs

parent c56813b8
This diff is collapsed.
...@@ -130,7 +130,7 @@ def total_classrooms_by_trend(output_filename, input_df, state_code): ...@@ -130,7 +130,7 @@ def total_classrooms_by_trend(output_filename, input_df, state_code):
plt.legend() plt.legend()
plt.xticks(np.arange(min_year, max_year+1, 1.0)) plt.xticks(np.arange(min_year, max_year+1, 1.0))
plt.ylabel('Number of classrooms') plt.ylabel('Number of Classrooms')
plt.xlabel('Year') plt.xlabel('Year')
plt.savefig(output_filename) plt.savefig(output_filename)
plt.close(fig) plt.close(fig)
...@@ -159,7 +159,7 @@ def total_schools_for_facilities(output_filename, input_df, state_code): ...@@ -159,7 +159,7 @@ def total_schools_for_facilities(output_filename, input_df, state_code):
plt.legend() plt.legend()
plt.xticks(np.arange(min_year, max_year+1, 1.0)) plt.xticks(np.arange(min_year, max_year+1, 1.0))
plt.ylabel('Number of schools') plt.ylabel('Number of Schools')
plt.xlabel('Year') plt.xlabel('Year')
plt.savefig(output_filename) plt.savefig(output_filename)
plt.close(fig) plt.close(fig)
...@@ -216,7 +216,7 @@ def total_schools_for_facilities_overall(output_filename, input_df): ...@@ -216,7 +216,7 @@ def total_schools_for_facilities_overall(output_filename, input_df):
plt.legend() plt.legend()
plt.xticks(np.arange(min_year, max_year+1, 1.0)) plt.xticks(np.arange(min_year, max_year+1, 1.0))
plt.ylabel('Number of schools') plt.ylabel('Number of Schools')
plt.xlabel('Year') plt.xlabel('Year')
plt.savefig(output_filename) plt.savefig(output_filename)
plt.close(fig) plt.close(fig)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment