Skip to content

Commit 56eea81

Browse files
committed
Merge pull request #527 from sturkmen72:update_plot_cpp
2 parents cb3e51f + 21a3b75 commit 56eea81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/plot/src/plot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ namespace cv
182182
void render(Mat &_plotResult)
183183
{
184184
//create the plot result
185-
plotResult = Mat::zeros(plotSizeHeight, plotSizeWidth, CV_8UC3);
185+
plotResult = Mat(plotSizeHeight, plotSizeWidth, CV_8UC3, plotBackgroundColor);
186186

187187
int NumVecElements = plotDataX.rows;
188188

0 commit comments

Comments
 (0)