matplotlib import. More...
#include <roboptim/core/visualization/matplotlib-commands.hh>
Public Member Functions | |
Import (const std::string &package) | |
Construct from a Python package. | |
Import (const std::string &from, const std::string &packages) | |
Construct from a Python package. | |
~Import () | |
Import destructor. | |
const std::string & | command () const |
Return the import command. |
matplotlib import.
This class represents a Python import command.
roboptim::visualization::matplotlib::Import::Import | ( | const std::string & | package | ) |
Construct from a Python package.
packages | packages to import (separated by commas). |
roboptim::visualization::matplotlib::Import::Import | ( | const std::string & | from, |
const std::string & | packages | ||
) |
Construct from a Python package.
"from-import" version.
from | Python module. |
packages | packages to import (separated by commas). |
Import destructor.
const std::string& roboptim::visualization::matplotlib::Import::command | ( | ) | const [inline] |
Return the import command.