8000 Fix multiple definition of subplot2grid · TobyThomasTech/matplotlib-cpp@6fb6a91 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 6fb6a91

Browse files
zinsmattlava
authored andcommitted
Fix multiple definition of subplot2grid
1 parent 97729fd commit 6fb6a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matplotlibcpp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ inline void subplot(long nrows, long ncols, long plot_number)
13901390
Py_DECREF(res);
13911391
}
13921392

1393-
void subplot2grid(long nrows, long ncols, long rowid=0, long colid=0, long rowspan=1, long colspan=1)
1393+
inline void subplot2grid(long nrows, long ncols, long rowid=0, long colid=0, long rowspan=1, long colspan=1)
13941394
{
13951395
PyObject* shape = PyTuple_New(2);
13961396
PyTuple_SetItem(shape, 0, PyLong_FromLong(nrows));

0 commit comments

Comments
 (0)
0