Skip to content
Snippets Groups Projects

Rui

Merged Rui Zhang requested to merge rui into dev2
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -71,8 +71,9 @@ class General2DPlot(AbstractPlot):
x, y, z = data[xattrib], data[yattrib], data[zattrib]
interp_method = self.config['interpolate_method']
n = self.config['num_grid_points']
X, Y, Z = interpolate_2d(x, y, z, method=interp_method, n=n)
self.Z = Z
if draw_colormesh or draw_contour:
X, Y, Z = interpolate_2d(x, y, z, method=interp_method, n=n)
self.Z = Z
if draw_colormesh:
pcm_styles = combine_dict(self.styles['pcolormesh'])
if norm is not None:
Loading