Negative Values on a Logarithmic Scale

I am using Plotly’s FigureWidget in Jupyter Lab. This integration is great.

Unfortunately, I am running into an issue that I do not know how to resolve.

I am working with a dataset whose values range from roughly -200 to 500,000. These values are best represented on a logarithmic scale. Unfortunately, I have not been able to figure out the best way to show the negative numbers.

Is there a recommended approach for this? I was thinking about adding 200 to every number, and then modify the labels to subtract 200. This seems hacky though.

On a side note, I was curious if there was a mechanism to create a custom scale. Logarithmic is close to what I need for my dataset (sports data), but if I can tune the scale just a bit, I think I will get something perfect.

I would love to hear the community’s thoughts so I can improve my approach.

Thanks a million!