8000 Declare subplot2grid 'inline' · garethellis0/matplotlib-cpp@7e6a51e · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 7e6a51e

Browse files
committed
Declare subplot2grid 'inline'
1 parent 5adfbe0 commit 7e6a51e

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
@@ -1385,7 +1385,7 @@ inline void subplot(long nrows, long ncols, long plot_number)
13851385
Py_DECREF(res);
13861386
}
13871387

1388-
void subplot2grid(long nrows, long ncols, long rowid=0, long colid=0, long rowspan=1, long colspan=1)
1388+
inline void subplot2grid(long nrows, long ncols, long rowid=0, long colid=0, long rowspan=1, long colspan=1)
13891389
{
13901390
PyObject* shape = PyTuple_New(2);
13911391
PyTuple_SetItem(shape, 0, PyLong_FromLong(nrows));

0 commit comments

Comments
 (0)
0