test_image_path = "dataset/plate5.jpeg"
vehicle, LpImg, cor = get_plate(test_image_path)
fig = plt.figure(figsize=(12,6))
grid = gridspec.GridSpec(ncols=2,nrows=1,figure=fig)
fig.add_subplot(grid[0])
plt.axis(False)
plt.imshow(vehicle)
grid = gridspec.GridSpec(ncols=2,nrows=1,figure=fig)
fig.add_subplot(grid[1])
plt.axis(False)
plt.imshow(LpImg[0])
TypeError: init() got an unexpected keyword argument 'figure'
Few month ago i had same problem , but don't remember how i fixed this.... maybe you know how
test_image_path = "dataset/plate5.jpeg"
vehicle, LpImg, cor = get_plate(test_image_path)
fig = plt.figure(figsize=(12,6))
grid = gridspec.GridSpec(ncols=2,nrows=1,figure=fig)
fig.add_subplot(grid[0])
plt.axis(False)
plt.imshow(vehicle)
grid = gridspec.GridSpec(ncols=2,nrows=1,figure=fig)
fig.add_subplot(grid[1])
plt.axis(False)
plt.imshow(LpImg[0])
TypeError: init() got an unexpected keyword argument 'figure'
Few month ago i had same problem , but don't remember how i fixed this.... maybe you know how