Skip to content

Commit

Permalink
fix(_extend_ladybug): use hourlyplot properties for heat map
Browse files Browse the repository at this point in the history
  • Loading branch information
devang-chauhan committed Jan 7, 2022
1 parent d84de97 commit 7ec1cd2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ladybug_charts/_extend_ladybug.py
Expand Up @@ -21,9 +21,12 @@
Sunpath.plot = sunpath


def hourly_plot(self):
def hourly_plot(self, title: str = None, show_title: bool = False):
hourly_data = self.data_collection
return heat_map(hourly_data)
min_range = self.legend_parameters.min
max_range = self.legend_parameters.max
colors = self.legend_parameters.colors
return heat_map(hourly_data, min_range, max_range, colors, title, show_title)


HourlyPlot.plot = hourly_plot
Expand Down

0 comments on commit 7ec1cd2

Please sign in to comment.