<jupyter_start><jupyter_text>Histogram<jupyter_code>flights_pd.distance.plot.hist(by="distance", bins=30, color="#474747")<jupyter_output><empty_output><jupyter_text>Histogram 2D<jupyter_code>x = flights_pd["sched_dep_time"]
y = flights_pd["sched_arr_time"]

counts, xedges, yedges = np.histogram2d(x, y, bins=100)
counts = np.ma.masked_where(counts == 0, counts)

plt.pcolormesh(xedges, yedges, counts.T, cmap='Blues_r')
cb = plt.colorbar()<jupyter_output><empty_output><jupyter_text>Bar plot<jupyter_code>flights_pd.origin.value_counts().sort_values().plot.bar()<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup