• 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
  • Python Viz
  • Seaborn
  • Altair
  • R Viz
  • ggplot2
  • About
    • Privacy Policy
  • Show Search
Hide Search

Python

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

How To Annotate Barplot with bar_label() in Matplotlib

datavizpyr · May 20, 2021 ·

Customize Label Size Matplotlib's bar_label()

Annotating barplots with labels like texts or numerical values can be helpful to make the plot look better. Till now, one of the options add annotations in Matplotlib is to use pyplot's annotate() function. Starting from Matplotlib version 3.4.2 and above, we have a new … [Read more...] about How To Annotate Barplot with bar_label() in Matplotlib

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

How To Connect Paired Data Points with Lines in Scatter Plot with Matplotlib

datavizpyr · May 14, 2021 ·

Connect Paired Points with Lines in Matplotlib

In this tutorial, we will learn how to connect paired data points with lines in a scatter plot using Matplotlib in python. Adding lines to paired data points can be extremely helpful in understanding the relationship between two variables with respect to a third variable. Mainly … [Read more...] about How To Connect Paired Data Points with Lines in Scatter Plot with Matplotlib

Filed Under: connect paired points Matplotlib, Matplotlib, Python Tagged With: Matplotlib, 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

  • Page 1
  • Page 2
  • Page 3
  • Interim pages omitted …
  • Page 15
  • Go to Next Page »

Primary Sidebar

Tags

Altair barplot Boxplot boxplot python boxplot with jiitered text labels Bubble Plot Color Palette Countplot Density Plot Facet Plot gganimate ggplot2 ggplot2 Boxplot ggplot2 error ggplot boxplot ggridges ggtext element_markdown() Grouped Barplot R heatmap heatmaps Histogram Histograms Horizontal boxplot Python lollipop plot Maps Matplotlib Pandas patchwork pheatmap Pyhon Python R RColorBrewer reorder boxplot ggplot Ridgeline plot Scatter Plot Scatter Plot Altair Seaborn Seaborn Boxplot Stock Price Over Time Stripplot UpSetR Violinplot Violin Plot World Map ggplot2

Buy Me a Coffee

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

Go to mobile version