In this tutorial, we will learn how to color select words in title text with matching colors as in the plot made with ggplot. For example, if we had made a bar plot with two colors for two groups with ggplot2, we will learn how to color the group names in the title text with… Continue reading How to Add matching colors to keywords in title text
Author: datavizpyr
How to selectively add color to title text in ggplot2
In this tutorial, we will learn how to specify colors to selective words of title text in ggplot2. For example, if we had made a plot with ggplot2 and have title text to describe the plot, we will learn how to color certain words of the title not the whole title text. We will use… Continue reading How to selectively add color to title text in ggplot2
How to make Grouped barplots with Matplotlib in Python
In this tutorial, we will learn how to make grouped barplot using Matplotlib in Python. We will learn how to make a gropued barplot in a realize scenario, where the data is in a Pandas dataframe and we have do some data munging to get the data to make grouped barplot. Let us first load… Continue reading How to make Grouped barplots with Matplotlib in Python
How to Add Text Annotations to Data Points in Python
In this tutorial, we will learn how to add text annotations to all data points in a scatterplot made with Python. One of the easier ways to add text annotations to points in a scatter plot is to use Seaborn in Python. Seaborn Objects, a newer Seaborn API with grammar of graphics like ggplot2 offers… Continue reading How to Add Text Annotations to Data Points in Python
How to wrap long strip labels in facet_wrap
In this tutorial, we will learn how wrap long strip labels while using facet_wrap(). When the labels of a specific facet is long it will go beyond the boundaries of the strip in a facet and will not be legible. In this post, we will learn how to use a labeller function in ggplot2 to… Continue reading How to wrap long strip labels in facet_wrap