Skip to content

Commit

Permalink
fix(_extend_ladybug): fix monthly chart
Browse files Browse the repository at this point in the history
Expose min_range and max_range
  • Loading branch information
devang-chauhan committed Jan 12, 2022
1 parent eb890d3 commit 9201d77
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ladybug_charts/_extend_ladybug.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,10 @@ def hourly_plot(self, title: str = None, show_title: bool = False) -> Figure:
HourlyPlot.plot = hourly_plot


def plot_monthly_chart(self, title: str = None, show_title: bool = False,
def plot_monthly_chart(self, min_range: float = None, max_range: float = None,
title: str = None, show_title: bool = False,
stack: bool = False) -> Figure:
data = self.data_collections
# TODO: min_range and max_range need to be discussed with Chris
min_range = None
max_range = None
colors = self.colors
return bar_chart(data, min_range, max_range, colors, title, show_title, stack)

Expand Down

0 comments on commit 9201d77

Please sign in to comment.