You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe the best approach is to follow matplotlib's standard legend placement, that look like the following. The location can be provided by an integer or by a string like 'lower right':
So, for solarmach, the example in Python (the streamlit version would use GUI elements, e.g., a dropdown menu for each variable) would look like:
# locations provided by y and x position, e.g. 'upper right'fig, ax=sm.plot(loc_legend='lower left', loc_logo='center right')
Note that in Python, it should already now be possible to change those locations by using the option to return the matplotlib figure object and modify it afterwards, but this is not straightforward.
The text was updated successfully, but these errors were encountered:
Provide option(s) to allow the user to easily move the position of the legend and the Solar-MACH logo. They are defined using matplotlib:
Maybe the best approach is to follow matplotlib's standard legend placement, that look like the following. The location can be provided by an integer or by a string like 'lower right':
So, for solarmach, the example in Python (the streamlit version would use GUI elements, e.g., a dropdown menu for each variable) would look like:
Note that in Python, it should already now be possible to change those locations by using the option to return the matplotlib figure object and modify it afterwards, but this is not straightforward.
The text was updated successfully, but these errors were encountered: