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

Unexpected keyword argument 'show_optimal' #81

Open
Rensvandeschoot opened this issue Jan 21, 2025 · 0 comments
Open

Unexpected keyword argument 'show_optimal' #81

Rensvandeschoot opened this issue Jan 21, 2025 · 0 comments

Comments

@Rensvandeschoot
Copy link
Member

When running the latest version of Makita with on older version of Insights (<1.3), I obtained the following error:

  File "C:\Users\schoo121\OneDrive - Universiteit Utrecht\IMPROVE\Simulations\ophthalmology\scripts\get_plot.py", line 129, in <module>
    get_plot_from_states(states, args.o, args.show_legend, args.hide_random,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\schoo121\OneDrive - Universiteit Utrecht\IMPROVE\Simulations\ophthalmology\scripts\get_plot.py", line 86, in get_plot_from_states
    plot_recall(ax, state, show_random = not hide_random,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: plot_recall() got an unexpected keyword argument 'show_optimal'

Can you please fix the dependencies with the correct version numbers and maybe add a check when starting Makita?

@Rensvandeschoot Rensvandeschoot added the bug Something isn't working label Jan 21, 2025
@J535D165 J535D165 removed the bug Something isn't working label Jan 21, 2025
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

2 participants