You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Overloading the text() method to accept a keyword arguments map #372
I had a need for this in a local project which required loads of custom text elements: made a minimal working example based on the same keyword approach already used e.g. to overload the plot() method in matplotlibcpp.h, this seems to work ok for our purposes:
matplotlibcpp.h addition:
"
...
void text(Numeric x, Numeric y, const std::string& s = "", const std::map<std::string, std::string>& keywords = {})
{ ...
Activity