• 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 Add Legend to Scatterplot Colored by a Variable with Matplotlib in Python

datavizpyr · May 8, 2021 ·

Matplotlib Scatter plot with legend

Matplotlib, one of the powerful Python graphics library, has many way to add colors to a scatter plot and specify legend. Earlier we saw a tutorial, how to add colors to data points in a scatter plot made with Matplotlib's scatter() function. In this tutorial, we will learn how … [Read more...] about How to Add Legend to Scatterplot Colored by a Variable with Matplotlib in Python

Filed Under: Matplotlib, Matplotlib scatterplot legend, Python Tagged With: Matplotlib, Python

How to Combine Two Seaborn plots with Shared y-axis

datavizpyr · March 21, 2021 ·

Combine Two plots into one in Seaborn

In this tutorial, we will see how to join or combine two plots with shared y-axis. As an example, we will make a scatterplot and join with with marginal density plot of the y-axis variable matching the variable colors. Thanks to Seaborn's creator Michael Waskom's wonderful tip on … [Read more...] about How to Combine Two Seaborn plots with Shared y-axis

Filed Under: Matplotlib, Python, Seaborn Tagged With: Matplotlib, Python, Seaborn

How to Change Colors in Seaborn (Custom Palettes and Manual Colors)

datavizpyr · March 11, 2021 ·

Seaborn Color: Pass a Custom List of Colors

Seaborn picks sensible default colors when you map a variable to hue, but real projects often need more control—consistent brand colors across plots, color-blind–friendly choices, or publication-ready figures. This hands-on tutorial shows exactly how to change colors in Seaborn, … [Read more...] about How to Change Colors in Seaborn (Custom Palettes and Manual Colors)

Filed Under: Python, Seaborn, Seaborn color palette as dict Tagged With: Python, Seaborn

How to Customize Titles in Multi-Panel plots with Seaborn?

datavizpyr · March 3, 2021 ·

Customize Facetgrid plot titles in Seaborn_Python

Multi-panel plots or small multiples are a great way visualize the relationship between two variables with respect ot the values of other variables. Seaborn offers a few different ways to make a multi-panel plots, with FacetGrid is the class behind multi-panel plots in … [Read more...] about How to Customize Titles in Multi-Panel plots with Seaborn?

Filed Under: Python, Seaborn Tagged With: Python, Seaborn

Pandas Bootstrap_plot(): Understand uncertainty

datavizpyr · March 2, 2021 ·

Histogram of Observed Data

One of the key parts of data analysis is to use summary statistics to understand the trend in the data. Understanding the variability in such summary statistics can be extremely useful to put weight on such summary statistics. Bootstrapping, resampling data with replacement is an … [Read more...] about Pandas Bootstrap_plot(): Understand uncertainty

Filed Under: Python Tagged With: Pandas, Python

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Interim pages omitted …
  • Page 14
  • 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