We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
https://stackoverflow.com/questions/67726949/i-get-an-typeerror-init-got-an-unexpected-keyword-argument-figure has a comment suggesting that you need matplotlib version 2.2.0 or newer.
matplotlib
Sorry, something went wrong.
thats my question xD on stackoverflow .
You have a different name altogether on Stack Overflow. Please don't call me "dude."
As pointed out in another comment, you need to be running Python 3.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: