Per the answer to Add Currency symbol in the y axis scale using plotly method in python, you can add a currency to a Python Plotly tick formatter via:
fig.update_layout(yaxis_tickprefix = '$', yaxis_tickformat = ',.')
However, this shows negative numbers as $-100
instead of -$100
.
How can I format ticks to include $ and respect negative numbers?