3d surface plotly miss the last row and column

The below code miss last row and column data, seems it is a bug, also The Figure is attached

import plotly.graph_objects as go
import pandas as pd
import numpy as np

fig = go.Figure(
data=[
go.Surface(
x=list(range(1,20)),
y=list(range(1,10)),
z=np.random.random(size=(20,10)).T
)
]
)
fig.update_layout(
autosize=False,
width=1200,
height=800,
scene=dict( # Adding explicit x/y ranges
xaxis = dict(range=[1,20]),
yaxis = dict(range=[1,10]),
),
)
fig.show()

Hi pencina,

The range method in Python is not inclusive. if you want to display 20, you need x=list(range(1,21)).
You have the same error on the y axis which only goes to 9.