Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy