Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.04 KB

customization_and_styles.md

File metadata and controls

30 lines (23 loc) · 1.04 KB

Customizing the Appearance of Your Plots


Use mplfinance styles for general customizations applied to many plots,
for example:

  • colors (candle colors, moving average colors, background, grid and figure colors)
  • grid style
  • y-axis on the right or left
  • matplotlib defaults

Use key word arguments for specific/individual plot customizations,
for example:

  • figure size and aspect ratio
  • display of non-trading periods (weekends, holidays, after hours trading)
  • figure title
  • y-axis title
  • x-axis datetime format
  • x-axis labels rotation
  • line color for line plot
  • tight_layout
  • fill_between

Other features related to customization: