![]() |
VOOZH | about |
Matplotlib is a library in Python and it is numerical – mathematical extension for NumPy library. The Artist class contains Abstract base class for objects that render into a FigureCanvas. All visible elements in a figure are subclasses of Artist.
The set_url() method in artist module of matplotlib library is used to set the url for the artist.
Syntax: Artist.set_url(self, url)
Parameters: This method accepts only one parameters.
- url : This parameter is the string containing the url.
Returns: This method does not return any value.
Below examples illustrate the matplotlib.artist.Artist.set_url() function in matplotlib:
Example 1:
Output:
👁 ImageExample 2: