Files
OpenBB/gamestonk_terminal/config_plot.py
2021-07-12 21:19:25 -04:00

27 lines
900 B
Python

PLOT_DPI = 100
# Backend to use for plotting
BACKEND = None
# Examples:
# "tkAgg" - This uses the tkinter library. If unsure, set to this
# "module://backend_interagg" - This is what pycharm defaults to in Scientific Mode
# "MacOSX" - Mac default. Does not work with backtesting
# "Qt5Agg" - This requires the PyQt5 package is installed
# See more: https://matplotlib.org/stable/tutorials/introductory/usage.html#the-builtin-backends
# Used when USE_PLOT_AUTOSCALING is set to False
PLOT_HEIGHT = 500
PLOT_WIDTH = 800
# Used when USE_PLOT_AUTOSCALING is set to True
PLOT_HEIGHT_PERCENTAGE = 50
PLOT_WIDTH_PERCENTAGE = 70
# When autoscaling is True, choose which monitor to scale to
# Primary monitor = 0, secondary monitor use 1
MONITOR = 0
# Color for `view` command data. All pyplot colors listed at:
# https://matplotlib.org/stable/gallery/color/named_colors.html
VIEW_COLOR = "tab:green"