Its possible to set modebar position above the graph

The modebar is over some points on a line plot, how can i add a margin or replace it?

image

If your concern is that the modebar overlaps with the line plot’s points, you can change the margins of the graph’s plotting area, or change the modebar’s orientation (and its position by extension). Here’s a codepen to illustrate these parameters:

Ty @wbrgss!!! Thats what i was looking for.