bar subplots matplotlib code example
Example: bar plots subplots
import matplotlib.pyplot as plt
fig, axes = plt.subplots(nrows=1, ncols=2)
df[["col_1","col_2"]].plot(ax=axes[0], kind='bar')
df[["col_3","col_4"]].plot(ax=axes[1], kind='bar');
import matplotlib.pyplot as plt
fig, axes = plt.subplots(nrows=1, ncols=2)
df[["col_1","col_2"]].plot(ax=axes[0], kind='bar')
df[["col_3","col_4"]].plot(ax=axes[1], kind='bar');