Skip to content

Commit

Permalink
Corrected crash when geom_raster used 'geom','point'
Browse files Browse the repository at this point in the history
  • Loading branch information
piermorel committed Jan 10, 2018
1 parent 682ec28 commit 70173ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @gramm/geom_raster.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
ally=[temp_y(:) temp_y(:)+0.9 NaN(numel(temp_x),1)]';
hndl=line(allx(:),ally(:),'color',draw_data.color,'lineWidth',draw_data.line_size);
else
hndl=line(temp_x,temp_y,'LineStyle','none','Marker','o','MarkerEdgeColor','none','markerSize',draw_data.point_size,'MarkerFaceColor',draw_data.color);
hndl=line(temp_x(:),temp_y(:),'LineStyle','none','Marker','o','MarkerEdgeColor','none','markerSize',draw_data.point_size,'MarkerFaceColor',draw_data.color);
end

else
Expand Down

0 comments on commit 70173ef

Please sign in to comment.