Matplotlib is an amazing visualization library in Python for 2D plots of arrays. Matplotlib is a multi-platform data visualization library built on NumPy arrays and designed to work with the broader SciPy stack.
matplotlib.ticker.MultipleLocator class is used for setting a tick for every integer multiple of a base within the view interval.
Syntax: class matplotlib.ticker.MultipleLocator(base=1.0)
Methods of the class:
- set_params(self, base): It is used for setting the parameters within the locator.
- tick_values(self, vmin, vmax): For a given vmin and vmax it returns the values of the located ticks.
- view_limits(self, dmin, dmax): It is used for setting the view limits to the nearest multiples of base that contain the data.
- Class or Static Variables in Python
- String Template Class in Python
- Changing Class Members in Python
- Object Oriented Programming in Python | Set 1 (Class, Object and Members)
- class method vs static method in Python
- First Class functions in Python
- Violinplot in Python using axes class of Matplotlib
- Class and Instance Attributes in Python
- Matplotlib.gridspec.GridSpec Class in Python
- CBSE Class 12 | Computer Science - Python Syllabus
- CBSE Class 11 | Computer Science - Python Syllabus
- Matplotlib.patches.CirclePolygon class in Python
- Class as decorator in python
- Python | Avoiding class data shared among the instances
- Python | Using variable outside and inside the class and method
- self in Python class
- Python Tkinter | Create different type of lines using Canvas class
- Python Tkinter | Create different shapes using Canvas class
- How to create a list of object in Python class
- rangev2 - A new version of Python range class
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.