Topics
Matplotlib
About this topic: Articles tagged __TAG__
Showing 124 articlesRelated tags
Topics
Articles
Showing 124 articles
How-tos
How to Create Colorplot of 2D Array Matplotlib
This tutorial explains how we can generate colorplot of 2D arrays using the matplotlib.pyplot.imshow() and matplotlib.pyplot.pcolormesh() methods in Python.
↗
How-tos
How to Display Greek Letters in Python Matplotlib
Display Greek letters in Matplotlib with Mathtext, Unicode code points, or direct Unicode characters.
↗
How-tos
How to Manually Set the Size of the Bins in Matplotlib Histogram
Set Matplotlib histogram bin widths by passing explicit or generated boundaries to the bins argument of plt.hist().
↗
How-tos
How to Set Tick Labels Font Size in Matplotlib
This tutorial introduces how to set tick labels font size in Matplotlib.
↗
How-tos
How to Use Error Bar in Python Matplotlib
One can plot data with error bars using the errorbar() function of Matplotlib in Python.
↗
How-tos
How to Overlay Plots in Matplotlib
This article describes how to overlay plots in Matplotlib, providing practical examples and clear explanations. Learn the best methods to combine different types of visualizations, …
↗
How-tos
How to Create Contour Plots in Matplotlib
Create line and filled contour plots in Matplotlib with a NumPy grid, a scalar field, and a colorbar.
↗
How-tos
How to Plot Data in Real Time Using Matplotlib
Plot changing data in a Matplotlib window with FuncAnimation(), manual canvas redraws, or an updating scatter artist.
↗
How-tos
How to Display Multiple Images in One Figure Correctly in Matplotlib
Display multiple images in one Matplotlib figure with a grid of axes, then customize individual panels.
↗
How-tos
How to Change Space Between Subplots in Matplotlib
Use tight_layout(), subplots_adjust(), subplot_tool(), or constrained_layout=True to improve spacing in Matplotlib figures with many subplots.
↗
How-tos
How to Set X Axis Values in Matplotlib
This tutorial shows how to set X axis values using matplotlib.pyplot.xticks() in Matplotlib. Learn to customize tick frequency, rotate labels, and improve the clarity of your data …
↗
How-tos
How to Custom Colormap Using Python Matplotlib
Create discrete and continuous custom colormaps with Matplotlib in Python, inspect built-in colors, and apply each map to plotted data.
↗
How-tos
How to Set the Figure Title and Axes Labels Font Size in Matplotlib
Set Matplotlib title and axis-label sizes with fontsize, rcParams defaults, or each text object's set_size() method.
↗
How-tos
How to Specify the Legend Position in Graph Coordinates in Matplotlib
This article shows you how to specify the legend's position in a graph in Matplotlib.
↗
How-tos
How to Place Legend Outside the Plot in Matplotlib
Learn how to place a Matplotlib legend outside the axes and keep it visible in saved figures.
↗
How-tos
How to Save Plots as an Image File Without Displaying in Matplotlib
Save a Matplotlib figure without opening a window by using a non-interactive backend, savefig(), and the correct save-then-close order.
↗
How-tos
Set Marker Size in a Matplotlib Scatter Plot
Set one marker size or a size for each point with Matplotlib scatter, scale marker areas correctly, and fix a mismatched size array.
↗
How-tos
How to Save Plot as SVG File in Matplotlib
This tutorial covers how to save plots as SVG files in Matplotlib. Discover simple methods to create and store high-quality visualizations that maintain clarity at any scale. Learn …
↗
How-tos
How to Plot List of X,y Coordinates in Matplotlib
This tutorial introduces how to plot a list of x, y coordinates in Matplotlib. Learn the basics of creating line and scatter plots, and discover how to customize your …
↗
How-tos
How to Fill Between Multiple Lines in Matplotlib
Learn how to fill between multiple lines in Matplotlib with this comprehensive guide. Explore the use of the fill_between() function, see clear examples, and discover how to …
↗
How-tos
How to Plot NumPy Linear Fit in Matplotlib Python
This tutorial explains how to fit a curve to the given data using numpy.polyfit() method and display the curve using the Matplotlib package. Learn to visualize data effectively …
↗
How-tos
How to Set Matplotlib Grid Interval
Learn how to set grid intervals in Matplotlib to enhance your data visualizations. This tutorial covers methods for customizing major and minor grids, providing code examples and …
↗
How-tos
How to Create Boxplot in Matplotlib
This tutorial explains how to create a boxplot using the matplotlib.pyplot.boxplot() function in Matplotlib. Learn to generate basic and customized boxplots, compare multiple …
↗
How-tos
How to Set Legend Title in Matplotlib
This tutorial demonstrates how to add a title to the legend of Matplotlib figures in Python. Learn various methods to customize your legend titles, including font size, background …
↗
No articles found
Try clearing the filters.