'How to remove duplicate values from Y-axis in Plotly js
Plotly JS has repeating values on X and Y axis. Issue on Y axis arises when there are constant values in the graph:

To fix x-axis, I tried setting up nticks value but it doesn't work for all the scenarios.

Please suggest a work around for the same.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
