Fix typo in exception message

This commit is contained in:
Matthias 2021-05-30 16:39:33 +01:00 committed by GitHub
parent b54da430b9
commit e3d5c9cb10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ def add_indicators(fig, row, indicators: Dict[str, Dict], data: pd.DataFrame) ->
kwargs.update({'line': {'color': color}}) kwargs.update({'line': {'color': color}})
kwargs['mode'] = 'lines' kwargs['mode'] = 'lines'
if plot_type != 'scatter': if plot_type != 'scatter':
logger.warning(f'Indicator {indicator} has hnknown plot trace kind {plot_type}' logger.warning(f'Indicator {indicator} has unknown plot trace kind {plot_type}'
f', assuming "scatter".') f', assuming "scatter".')
kwargs.update(conf.get('plotly', {})) kwargs.update(conf.get('plotly', {}))