@@ -49,7 +49,6 @@ def __init__(
4949 grid_errorbar : Optional [w2d .GridErrorbar ] = None ,
5050 vector_yx_quiver : Optional [w2d .VectorYXQuiver ] = None ,
5151 patch_overlay : Optional [w2d .PatchOverlay ] = None ,
52- interpolated_reconstruction : Optional [w2d .InterpolatedReconstruction ] = None ,
5352 delaunay_drawer : Optional [w2d .DelaunayDrawer ] = None ,
5453 origin_scatter : Optional [w2d .OriginScatter ] = None ,
5554 mask_scatter : Optional [w2d .MaskScatter ] = None ,
@@ -135,8 +134,6 @@ def __init__(
135134 Overlays matplotlib `patches.Patch` objects over the figure, such as an `Ellipse`.
136135 delaunay_drawer
137136 Draws a colored Delaunay mesh of pixels using `plt.tripcolor`.
138- interpolated_reconstruction
139- Draws a colored Delaunay mesh of pixels using `plt.fill`.
140137 origin_scatter
141138 Scatters the (y,x) origin of the data structure on the figure.
142139 mask_scatter
@@ -190,10 +187,6 @@ def __init__(
190187 self .vector_yx_quiver = vector_yx_quiver or w2d .VectorYXQuiver (is_default = True )
191188 self .patch_overlay = patch_overlay or w2d .PatchOverlay (is_default = True )
192189
193- self .interpolated_reconstruction = (
194- interpolated_reconstruction
195- or w2d .InterpolatedReconstruction (is_default = True )
196- )
197190 self .delaunay_drawer = delaunay_drawer or w2d .DelaunayDrawer (is_default = True )
198191
199192 self .origin_scatter = origin_scatter or w2d .OriginScatter (is_default = True )
@@ -694,36 +687,19 @@ def _plot_delaunay_mapper(
694687
695688 interpolation_array = None
696689
697- if interpolate_to_uniform :
698- interpolation_array = (
699- self .interpolated_reconstruction .imshow_reconstruction (
700- mapper = mapper ,
701- pixel_values = pixel_values ,
702- units = self .units ,
703- cmap = self .cmap ,
704- colorbar = self .colorbar ,
705- colorbar_tickparams = self .colorbar_tickparams ,
706- aspect = aspect_inv ,
707- ax = ax ,
708- use_log10 = self .use_log10 ,
709- )
710- )
711-
712- else :
713-
714- if hasattr (pixel_values , "array" ):
715- pixel_values = pixel_values .array
690+ if hasattr (pixel_values , "array" ):
691+ pixel_values = pixel_values .array
716692
717- self .delaunay_drawer .draw_delaunay_pixels (
718- mapper = mapper ,
719- pixel_values = pixel_values ,
720- units = self .units ,
721- cmap = self .cmap ,
722- colorbar = self .colorbar ,
723- colorbar_tickparams = self .colorbar_tickparams ,
724- ax = ax ,
725- use_log10 = self .use_log10 ,
726- )
693+ self .delaunay_drawer .draw_delaunay_pixels (
694+ mapper = mapper ,
695+ pixel_values = pixel_values ,
696+ units = self .units ,
697+ cmap = self .cmap ,
698+ colorbar = self .colorbar ,
699+ colorbar_tickparams = self .colorbar_tickparams ,
700+ ax = ax ,
701+ use_log10 = self .use_log10 ,
702+ )
727703
728704 self .title .set (auto_title = auto_labels .title )
729705 self .ylabel .set ()
0 commit comments