Skip to content

t-range in visualization.plot_rotor_values #836

Answered by misi9170
zkdtxby asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @zkdtxby , the error you are receiving is because you need to add a comma after the list, i.e., t_range=[' ....'],
(at the moment, you don't have that comma, so python is not able to understand the difference between the t_range argument and the return_fig_objects argument).

However, the wakeviz.plot_rotor_values is not expecting a list of strings to be passed in. To achieve the behavior, you can specify t_range as a list of integer turbine indices, for example, t_range = [0, 1, 2, 3, 4],.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zkdtxby
Comment options

Answer selected by rafmudaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants