• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Data Viz with Python and R

Learn to Make Plots in Python and R

  • Home
  • Seaborn
  • Matplotlib
  • ggplot2
  • Altair
  • About
    • Privacy Policy
  • Visualizing Activation Functions in Neural Networks
  • Confusion Matrix Calculator
  • Visualizing Dropout Rate in Neural Network
  • Visualizing Loss Functions in Neural Networks
  • Show Search
Hide Search

Python

How to Make Violin plots with Matplotlib

datavizpyr · June 29, 2022 ·

Customizing Violinplot with Matplotlib

In this tutorial, we will learn how to make violin plots using Python's Matplotlib library. Matplotlib has a function called violinplot() and we will use that function to examples of making violinplot first and then learn to customize the violinplots. Unlike other tutorials … [Read more...] about How to Make Violin plots with Matplotlib

Filed Under: Matplotlib, Python, Violinplot Matplotlib Tagged With: customize violinplot matplotlib, violinplot with matplotlib

How to View All Matplotlib Plot Styles and Change

datavizpyr · June 23, 2022 ·

Change matplotlib style scatterplot to fivethirtyeight

In this tutorial, we will learn how to change the background theme or style of a plot made with matplotlib. Matplotlib offers a number of ready to use styles to use for matplotlib plots. We will first learn how to find the available style options and then learn to set a … [Read more...] about How to View All Matplotlib Plot Styles and Change

Filed Under: Matplotlib, Python Tagged With: change Matplotlib plot style

How to Add Vertical/Horizontal Lines to Subplots with Seaborn

datavizpyr · December 29, 2021 ·

Add vertical and Horizontal Lines with Seaborn refline

In this tutorial, we will learn how to add vertical or horizontal lines to "small multiples" i.e. multiple subplots of similar kind using Seaborn's refline() function (h/t to Chris Moffitt of @pbpython). Vertical/Horizontal lines are often useful to show where the mean or median … [Read more...] about How to Add Vertical/Horizontal Lines to Subplots with Seaborn

Filed Under: Python, Seaborn Tagged With: Seaborn Vertical/Horizontal Line

How To Add Mean/Median Line to a Seaborn Displot

datavizpyr · August 23, 2021 ·

Seaborn displot with median line

In this tutorial, we will learn how to add mean or median vertical line to a plot made with Seaborn's displot() function. Seaborn's displot() offers capability to visualize the univariate or bivariate distribution of data. Here we will make a histogram with Seaborn's displot() … [Read more...] about How To Add Mean/Median Line to a Seaborn Displot

Filed Under: Python, Seaborn Tagged With: Seaborn displot, Seaborn displot mean line, Seaborn Displot Median Line

How To Add Dollar Sign on Axis Ticks in Matplotlib

datavizpyr · May 24, 2021 ·

Barplot with dollar sign on axis ticks

In this tutorial, we will see examples of how to add dollar sign on axis ticks while making plots with Matplotlib in Python. While making plots to understand the relationship between currency like US dollars and other variables, it is better to show the Dollar symbol/sign on the … [Read more...] about How To Add Dollar Sign on Axis Ticks in Matplotlib

Filed Under: add dollar sign Matplotlib, Matplotlib, Python Tagged With: Matplotlib, Python

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Interim pages omitted …
  • Page 19
  • Go to Next Page »

Primary Sidebar

Python & R Viz Hubs

  • Seaborn Guide & Cookbook
  • ggplot2 Guide & Cookbook
  • Matplotlib Guide & Cookbook
  • Confusion Matrix Calculator
  • Visualizing Activation Functions
  • Visualizing Dropout
  • Visualizing Loss Functions

Buy Me a Coffee

Copyright © 2026 · Daily Dish Pro on Genesis Framework · WordPress · Log in

Go to mobile version