Rakuten Automated

A pandas bar plot visualizes a figure with too dense x-labels

Table of Contents

Issue

I wanna visualize variables in too many dimensions (ex. 200 dimensions). Pandas renders the bar plot. However, the x-label of the plot is too dense; hard to read.

The bar plot with 200 dimensions. The x label is super hard to read.

Solution

Use xticks the argument of pandas plot.

The x label has numbers per 5 dimensions.

Example