rpng / open_vins

An open source platform for visual-inertial navigation research.
https://docs.openvins.com
GNU General Public License v3.0
2.06k stars 616 forks source link

The command like "subplot" doesn't work #309

Closed goldbattle closed 1 year ago

goldbattle commented 1 year ago

Need to verify what versions / ubuntu version this happens on.

Details: https://github.com/lava/matplotlib-cpp/issues/310

The fix is to update the subplot function:

PyTuple_SetItem(args, 0, PyLong_FromLong(nrows));
PyTuple_SetItem(args, 1, PyLong_FromLong(ncols));
PyTuple_SetItem(args, 2, PyLong_FromLong(plot_number));