diff --git a/vega_query/visualisations/plots/amm.py b/vega_query/visualisations/plots/amm.py index bbb14f4b..e02c8980 100644 --- a/vega_query/visualisations/plots/amm.py +++ b/vega_query/visualisations/plots/amm.py @@ -49,7 +49,9 @@ def create( # Default timestamps for getting data if required network_timestamp = service.api.data.get_vega_time() start_timestamp = ( - market.market_timestamps.proposed if start_timestamp is None else start_timestamp + market.market_timestamps.proposed + if start_timestamp is None + else start_timestamp ) end_timestamp = network_timestamp if end_timestamp is None else end_timestamp diff --git a/vega_query/visualisations/plots/sla.py b/vega_query/visualisations/plots/sla.py index 634b478d..39189423 100644 --- a/vega_query/visualisations/plots/sla.py +++ b/vega_query/visualisations/plots/sla.py @@ -52,7 +52,9 @@ def create( # Default timestamps for getting data if required network_timestamp = service.api.data.get_vega_time() start_timestamp = ( - market.market_timestamps.proposed if start_timestamp is None else start_timestamp + market.market_timestamps.proposed + if start_timestamp is None + else start_timestamp ) end_timestamp = network_timestamp if end_timestamp is None else end_timestamp