• 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

Matplotlib

How To Color Scatterplot by a variable in Matplotlib?

datavizpyr · December 18, 2020 ·

Coloring Scatterplot with Variable using Matplotlib

Scatterplots between two numerical variables are great to see the relationship between them. Adding colors to the data points based on the third categorical variable is often useful in understanding the relationship among the three variables. In this post, we will learn how to … [Read more...] about How To Color Scatterplot by a variable in Matplotlib?

Filed Under: Color Scatterplot Matplotlib, Python, Scatterplot Matplotlib Tagged With: Matplotlib, Python

How To Adjust Positions of Axis Labels in Matplotlib?

datavizpyr · September 22, 2020 ·

How To Adjust Axes Label Position in Matplotlib?

In this post, we will learn how to adjust positions of x-axis and y-axis labels in Matplotlib in Python. By default, plots with matplotlib places the axis labels in the middle. With matplotlib version 3.3.0, the matplotlib functions set_xlabel and set_ylabel have a new parameter … [Read more...] about How To Adjust Positions of Axis Labels in Matplotlib?

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

How To Place Legend Outside the Plot with Seaborn in Python?

datavizpyr · June 26, 2020 ·

How To Move Legend to Outside Plot Seaborn Scatterplot?

While making plots with legend, like scatterplot, Seaborn has a nice feature that finds a suitable place for legend and puts it automatically inside the plot. This greatly helps in utilizing plotting area efficiently. However, sometimes you might want the legend outside the plot. … [Read more...] about How To Place Legend Outside the Plot with Seaborn in Python?

Filed Under: Move Legend to Outside Plot, Python Tagged With: Matplotlib, Python, Seaborn

How to Show Mean on Boxplot using Seaborn in Python?

datavizpyr · June 12, 2020 ·

Customize Mean Mark Boxplot: Seaborn & Matplotlib

Boxplots show five summary statistics, including median, derived from data to show distribution of numerical data corresponding categorical variables. Sometimes, you might want to highlight the mean values in addition to the five statistics of boxplot. In this post we will … [Read more...] about How to Show Mean on Boxplot using Seaborn in Python?

Filed Under: meanprops Matplotlib, Python, show mean in boxplot Tagged With: Boxplot, Matplotlib, Python, Seaborn

How To Annotate Bars in Barplot with Matplotlib in Python?

datavizpyr · May 29, 2020 ·

How To Annotate Bars in Barplot with Matplotlib?

In this post we will learn examples of adding text, annotating bars in barplot using matplotlib. We will make bar plots using Seaborn's barplot and use Matplotlib to add annotations to the bars in barplot. Let us load Pandas, Seaborn and Matplotlib. Let us create a toy … [Read more...] about How To Annotate Bars in Barplot with Matplotlib in Python?

Filed Under: annotate bars in barplot, Python Tagged With: Matplotlib, Python, Seaborn

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • 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