When I have an additional input other than just clickData, the callback isn’t called when the user clicks on the graph. The callback is called correctly after the user also updates the second input.
As an example, I have:
[Input(‘average_coins_graph’, ‘clickData’), Input(‘coin_type_dropdown’, ‘value’)]
def display_click_data(click_data, coin_type):
display_click_data is only called if the user picks a value in the coin_type_dropdown after clicking on the graph.