Ao executar a função, esse erro surge, referente à multiplicação dos arrays
<ipython-input-25-1441d33c4d93> in plot3d(perceptron)
13 X1, X2 = np.meshgrid(X1, X2)
14
---> 15 X3 = (b - w1 * X - w2 * Y) / w3
16
17
ValueError: operands could not be broadcast together with shapes (1,3) (10,10)