When prices are decimal (e.g. 2.5, 3.5), the labels in the x-axis are rounded and appear as duplicate:
I traced the issue to the following row:
https://github.com/tyrneh/options-implied-probability/blob/7c76eb19c3aa0ee8ce770e546f6bec7f7d1174ed/oipd/graphics/publication.py#L301
The .0f part removes the decimal part. However I'm not sure what the purpose of this row is - stock prices in the 10,000s are extremely rare. I found only 6 of those, all very illiquid. If I haven't missed anything and that's okay I'll PR its removal.
When prices are decimal (e.g. 2.5, 3.5), the labels in the x-axis are rounded and appear as duplicate:
I traced the issue to the following row:
https://github.com/tyrneh/options-implied-probability/blob/7c76eb19c3aa0ee8ce770e546f6bec7f7d1174ed/oipd/graphics/publication.py#L301
The
.0fpart removes the decimal part. However I'm not sure what the purpose of this row is - stock prices in the 10,000s are extremely rare. I found only 6 of those, all very illiquid. If I haven't missed anything and that's okay I'll PR its removal.