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

'FigureCanvasTkAgg' object has no attribute 'set_window_title' #872

Closed
dandon223 opened this issue Feb 9, 2023 · 1 comment
Closed

'FigureCanvasTkAgg' object has no attribute 'set_window_title' #872

dandon223 opened this issue Feb 9, 2023 · 1 comment

Comments

@dandon223
Copy link

Hi, I installed dev-kit with pip.
I get the error 'FigureCanvasTkAgg' object has no attribute 'set_window_title' when I use render_pointcloud_in_image method.
It is because of nuscenes.py file on 1026 and 1028 line:
I changed it to:

        if lidarseg_preds_bin_path:
            fig.canvas.manager.set_window_title(sample_token + '(predictions)')
        else:
            fig.canvas.manager.set_window_title(sample_token)

After the change it works.
Could you update the file?
Thank you

@whyekit-motional
Copy link
Collaborator

@dandon223 perhaps try version 3.5.2 of matplotlib:

$ pip show matplotlib

Name: matplotlib
Version: 3.5.2
...

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

No branches or pull requests

2 participants