ladybug-tools / ladybug-legacy

:beetle: Ladybug is an environmental plugin for Grasshopper.
http://ladybug.tools
Other
192 stars 82 forks source link

Legend scale not working in windRose component #473

Closed ayezioro closed 4 years ago

ayezioro commented 4 years ago

Hi, I believe i've found a small bug in the windRose, where it is not accepting changes in the legendScale parameter while a legendPar component is plugged. In the code below you can see where it is happening. The commented line is the original. The line above that is at it should be. It starts at line 703. @chris or @devngc , it will be easier if one of you fix it (than if i do). Thanks, -A.

        # initiate legend parameters
        overwriteScale = False
        if legendPar == []: overwriteScale = True
        elif legendPar[-1] == None: overwriteScale = False
        ####elif legendPar[-1] == None: overwriteScale = True
devang-chauhan commented 4 years ago

Hi Abraham, Thanks for pointing. I will look into this. Thank you!

devang-chauhan commented 4 years ago

@ayezioro, Can you please close the issue?