You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#TODO: The current version for scaleruler relies on "matplotlib-scalebar"; however, should this section be moved to a standalone "scaleruler" module, similar to the MATLAB version?
#patch('Faces',[A B C],'Vertices', [x y z],'FaceVertexCData',data_grid(1)*ones(size(x)),'FaceColor','none','EdgeColor',getfieldvalue(options,'edgecolor'));
146
160
ax.triplot(x,y,triangles=elements,
147
161
color=options.getfieldvalue('edgecolor'),
148
-
linewdith=options.getfieldvalue('linewidth',1),
162
+
linewidth=options.getfieldvalue('linewidth',1),
149
163
)
150
164
151
165
#Apply options
152
166
if (notnp.isnan(data_min)) & (notnp.isinf(data_min)):
153
-
options.changefieldvalue('caxis',[data_min, data_max]) # force caxis so that the colorbar is ready
167
+
options.changefieldvalue('caxis',caxis_opt) # force caxis so that the colorbar is ready
0 commit comments