I am quite new to Plotly so bear with me if these are simple questions, the first is that I cannot seem to get square contour plots. My code is the following;
fig = go.Figure(data=data, layout=layout) py.iplot(fig, filename='Reflection') data = [ go.Contour( z=A, x=n, y=k, colorscale='plasma', scaleratio = 0, ), ] py.iplot(data, filename='Absorption Contour')
But the graph I get looks like this;
FYI n and k and both ndarrays with dimensions 31 and A is a ndarray with dimensions (31x31)
Also I can’t seem to change the colours of the plot, as you can see I have tried to use colourscale=‘plasma’ but I am getting the same as the default.