Removed plotlyjs logo from plots (#538)

This commit is contained in:
Philipp Horstenkamp 2024-01-08 18:57:51 +01:00 committed by GitHub
parent a51f271315
commit 894c140ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 5 deletions

View File

@ -400,7 +400,8 @@ def kennzahlen_layout(selected_finance_df: pd.DataFrame) -> html:
dcc.Graph( dcc.Graph(
figure=finance_elements.financials_figure( figure=finance_elements.financials_figure(
selected_finance_df, "annual_finance_statement_ebit" selected_finance_df, "annual_finance_statement_ebit"
) ),
config={"displaylogo": False},
) )
] ]
) )
@ -431,7 +432,12 @@ def network_layout(selected_company_id: int) -> html.Div:
) )
return html.Div( return html.Div(
children=[ children=[
dcc.Graph(figure=figure, id="company-graph", className="graph-style") dcc.Graph(
figure=figure,
id="company-graph",
className="graph-style",
config={"displaylogo": False},
)
] ]
) )

View File

@ -39,7 +39,7 @@ def create_small_widget(title: list[str], values: list[int]) -> html:
def create_person_widgets(selected_person_id: int, selected_person_name: str) -> html: def create_person_widgets(selected_person_id: int, selected_person_name: str) -> html:
"""Creats the widgets of the company page. """Creates the widgets of the company page.
Args: Args:
selected_person_id: Id of the selected person in the dropdown. selected_person_id: Id of the selected person in the dropdown.
@ -111,7 +111,12 @@ def network_layout(selected_person_id: int) -> html.Div:
) )
return html.Div( return html.Div(
children=[ children=[
dcc.Graph(figure=figure, id="person-graph", className="graph-style") dcc.Graph(
figure=figure,
id="person-graph",
className="graph-style",
config={"displaylogo": False},
)
] ]
) )

View File

@ -97,7 +97,10 @@ def sentiment_layout(selected_company_id: int, session: Session) -> html:
html.Div( html.Div(
className="sentiment-line", className="sentiment-line",
children=[ children=[
dcc.Graph(figure=sentiment_trend_figure(articles, n)), dcc.Graph(
figure=sentiment_trend_figure(articles, n),
config={"displaylogo": False},
),
], ],
), ),
html.Div( html.Div(