Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move base plots to Python_Toolkit #268

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def diurnal(epw_file, return_file: str, data_type_key="Dry Bulb Temperature", co
from ladybug.epw import EPW, AnalysisPeriod
from ladybugtools_toolkit.ladybug_extension.datacollection import collection_to_series
from ladybugtools_toolkit.ladybug_extension.epw import wet_bulb_temperature
from ladybugtools_toolkit.plot._diurnal import diurnal
from python_toolkit.plot.diurnal import diurnal
from ladybug.datacollection import HourlyContinuousCollection
from ladybugtools_toolkit.plot.utilities import figure_to_base64
from ladybugtools_toolkit.bhom.wrapped.metadata.collection import collection_metadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def heatmap(epw_file: str, data_type_key: str, colour_map: str, return_file: str
try:
from ladybug.epw import EPW
from ladybug.datacollection import HourlyContinuousCollection
from ladybugtools_toolkit.plot._heatmap import heatmap
from python_toolkit.plot.heatmap import heatmap
#from ladybugtools_toolkit.plot._heatmap import heatmap
from ladybugtools_toolkit.ladybug_extension.datacollection import collection_to_series
from ladybugtools_toolkit.bhom.wrapped.metadata.collection import collection_metadata
from ladybugtools_toolkit.ladybug_extension.epw import wet_bulb_temperature
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
from python_toolkit.bhom.analytics import bhom_analytics

from ..helpers import rolling_window, validate_timeseries
from ..plot._heatmap import heatmap
from ..plot.utilities import contrasting_color
from python_toolkit.plot.heatmap import heatmap


@dataclass(init=True, repr=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from ..helpers import convert_keys_to_snake_case
from ..ladybug_extension.analysisperiod import describe_analysis_period
from ..ladybug_extension.datacollection import collection_to_series
from ..plot._heatmap import heatmap
from python_toolkit.plot.heatmap import heatmap
from ..plot._utci import utci_day_comfort_metrics, utci_heatmap_histogram
from ..plot.colormaps import (
DBT_COLORMAP,
Expand Down
Loading