Skip to content
New issue

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

TypeError: tight_layout() takes 0 positional arguments but 3 were given #8

Open
ghost opened this issue Mar 20, 2023 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Mar 20, 2023

I've tried to run the code inside colab. however, it shows the following Error:

Do I need to have any specific things in my colab? Thank you

0%|          | 10/20001 [00:00<08:23, 39.67it/s]
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[<ipython-input-2-51480497a079>](https://localhost:8080/#) in <module>
    156                                'samples/example_z=%d_%s_%1.1f_%06d.pt' %
    157                                (n_latent, shape, mixup, iteration))
--> 158                     plot(plot_real, plot_fake, mixup, iteration)

[<ipython-input-2-51480497a079>](https://localhost:8080/#) in plot(x, y, mixup, iteration)
     51                 plt.xlim(*lims)
     52                 plt.ylim(*lims)
---> 53                 plt.tight_layout(0, 0, 0)
     54                 plt.show()
     55                 plt.savefig("images/example_z=%d_%s_%1.1f_%06d.png" %

TypeError: tight_layout() takes 0 positional arguments but 3 were given

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants