Hi @D_S,
You can fix this by adjusting the Graph Size
After creating the plot inside your Data Grid, you can set the layout property to remove the margins. Something like this should do the trick:
self.plot_1.layout = go.Layout(
margin=dict(
l=0, #left margin
r=0, #right margin
b=0, #bottom margin
t=0, #top margin
))