I have done research here in SO and all the answers that i have found do not solve my issue. I have 4 histograms that i want to plot over 2 rows and 2 columns.
If i just want to plot 2 histograms over 1 row then it works fine but the moment i add more histograms then the whole thing dies! this is the code:
`fig, (ax1, ax2, ax3, ax4) = plt.subplots(nrows=2, ncols=2) sns.distplot(iot['opex_euro'],ax=ax1) sns.distplot(iot['cost_of_delay'],ax=ax2) sns.distplot(iot['customer_commitment_value'],ax=ax3) sns.distplot(iot['ktlo_value'],ax=ax4) plt.show()` and this is the error message that i get:
`ValueError Traceback (most recent call last) <ipython-input-115-5b6d5d693b20> in <module>() 1 #plotParams() 2 ----> 3 fig, (ax1, ax2, ax3, ax4) = plt.subplots(nrows=2, ncols=2) 4 sns.distplot(iot['opex_euro'],ax=ax1) 5 sns.distplot(iot['cost_of_delay'],ax=ax2) ValueError: not enough values to unpack (expected 4, got 2)` can i please get steered in the right direction?
