Topics
Matplotlib
About this topic: Articles tagged __TAG__
Showing 124 articlesRelated tags
Topics
Articles
Showing 124 articles
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 Set Tick Label in Scientific Notation in Matplotlib
This article teaches you how to set tick labels in scientific notation using Matplotlib in Python. Learn about the `ticklabel_format()` function, `ScalarFormatter`, and …
↗
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 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 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 Convert a NumPy Array to PIL Image in Python
This tutorial explains how to convert a NumPy array to a PIL image using the Image.fromarray() function from the PIL package. Learn step-by-step methods for handling both RGB and …
↗
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 …
↗
How-tos
How to Create Trendline in Matplotlib
Learn how to create a linear trendline in Matplotlib with this step-by-step guide. Discover how to visualize data trends effectively using scatter plots and trendlines. Enhance …
↗
How-tos
How to Create Multiple Axes in Matplotlib
In this article, learn how to create multiple axes in Matplotlib using the add_axes() method. Explore the concept of axes instances, and discover how to customize your …
↗
How-tos
How to Set a Single Main Title for All the Subplots in Matplotlib
Learn how to set a single main title for all subplots in Matplotlib using pyplot.suptitle() and Figure.suptitle() methods. This guide provides clear examples and detailed …
↗
How-tos
How to Create a Surface Plot in Matplotlib
Learn how to create stunning surface plots in Matplotlib using the plot_surface() method. This comprehensive guide covers setup, data preparation, and customization techniques to …
↗
How-tos
How to Save Figures Identical to the Displayed Figures in Matplotlib
This article demonstrates how to save figures in Matplotlib that are identical to those displayed on your screen. Learn effective methods using the savefig function, customize …
↗
How-tos
How to Make the Legend of the Scatter Plot in Matplotlib
Learn how to create and customize legends for scatter plots using Matplotlib in Python. This comprehensive guide provides step-by-step instructions and code examples to enhance …
↗
How-tos
How to Display an Image With Matplotlib Python
Learn how to display images using Matplotlib in Python with this comprehensive guide. We cover essential methods such as loading images, customizing their display, and saving them …
↗
How-tos
How to Hide Axis, Borders and White Spaces in Matplotlib
This tutorial explains how to hide the axis in Matplotlib plots using the axis('off') command and how to remove all white spaces and borders when saving figures. Learn to create …
↗
How-tos
How to Add Text Inside the Plot in Matplotlib
This tutorial shows how to use the plt.text() method to add text to figures and axes in Matplotlib. Learn how to customize text appearance, create annotations with arrows, and …
↗
How-tos
How to Use of pyplot.figure() in Matplotlib
This tutorial explains how to use matplotlib.pyplot.figure() to change various properties of a Matplotlib figure. Learn to customize figure size, resolution, background color, and …
↗
How-tos
Pandas Plot Multiple Columns on Bar Chart With Matplotlib
Learn how to plot multiple columns on a bar chart using Pandas and Matplotlib in this comprehensive tutorial. Discover step-by-step methods to create, customize, and save your bar …
↗
How-tos
How to Plot Points in Matplotlib
This tutorial explains how to plot data as points in Matplotlib using the matplotlib.pyplot.scatter() and matplotlib.pyplot.plot() methods. Learn the differences, customization …
↗
No articles found
Try clearing the filters.