alandefreitas / matplotplusplus

Matplot++: A C++ Graphics Library for Data Visualization 📊🗾
https://alandefreitas.github.io/matplotplusplus/
MIT License
4.34k stars 334 forks source link

Warning: Direct2D back-end error 80070057 when plotting matrix #366

Open radoslav180 opened 1 year ago

radoslav180 commented 1 year ago

Bug category

Describe the bug

I have a problem plotting matrix using image() function. For the most time the function works as expected, but when I try to plot matrix with 112 x 20480 dims the following warning appears: Warning: Direct2D back-end error 80070057. When the number of columns is smaller for example 112 x 16000 the function works properly. Steps to Reproduce

# Your steps go here
mkdir build
cd build
cmake .. <options> -DCMAKE_BUILD_TYPE=Release

Output

Warning: Direct2D back-end error 80070057; last command: 48 Warning: Direct2D back-end error 80070057; last command: 49 Warning: Direct2D back-end error 80070057; last command: 35 Warning: Direct2D back-end error 80070057; last command: 48 Warning: Direct2D back-end error 80070057; last command: 49 Warning: Direct2D back-end error 80070057; last command: 35 Warning: Direct2D back-end error 80070057; last command: 48 Warning: Direct2D back-end error 80070057; last command: 49 Warning: Direct2D back-end error 80070057; last command: 35 Warning: Direct2D back-end error 80070057; last command: 48 Warning: Direct2D back-end error 80070057; last command: 49 Warning: Direct2D back-end error 80070057; last command: 35 ```console # The output you got ```

Platform

Environment Details:

Additional context