Book Image

matplotlib Plotting Cookbook

By : Alexandre Devert
Book Image

matplotlib Plotting Cookbook

By: Alexandre Devert

Overview of this book

Table of Contents (15 chapters)
matplotlib Plotting Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Customizing the Color and Styles

In this chapter, we will cover:

  • Defining your own colors

  • Using custom colors for scatter plots

  • Using custom colors for bar charts

  • Using custom colors for pie charts

  • Using custom colors for boxplots

  • Using colormaps for scatter plots

  • Using colormaps for bar charts

  • Controlling a line pattern and thickness

  • Controlling a fill pattern

  • Controlling a marker's style

  • Controlling a marker's size

  • Creating your own markers

  • Getting more control over markers

  • Creating your own color scheme