mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-25 00:32:33 +02:00
Removed plotlyjs logo from plots (#538)
This commit is contained in:
parent
a51f271315
commit
894c140ba1
@ -400,7 +400,8 @@ def kennzahlen_layout(selected_finance_df: pd.DataFrame) -> html:
|
||||
dcc.Graph(
|
||||
figure=finance_elements.financials_figure(
|
||||
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(
|
||||
children=[
|
||||
dcc.Graph(figure=figure, id="company-graph", className="graph-style")
|
||||
dcc.Graph(
|
||||
figure=figure,
|
||||
id="company-graph",
|
||||
className="graph-style",
|
||||
config={"displaylogo": False},
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
|
@ -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:
|
||||
"""Creats the widgets of the company page.
|
||||
"""Creates the widgets of the company page.
|
||||
|
||||
Args:
|
||||
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(
|
||||
children=[
|
||||
dcc.Graph(figure=figure, id="person-graph", className="graph-style")
|
||||
dcc.Graph(
|
||||
figure=figure,
|
||||
id="person-graph",
|
||||
className="graph-style",
|
||||
config={"displaylogo": False},
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
|
@ -97,7 +97,10 @@ def sentiment_layout(selected_company_id: int, session: Session) -> html:
|
||||
html.Div(
|
||||
className="sentiment-line",
|
||||
children=[
|
||||
dcc.Graph(figure=sentiment_trend_figure(articles, n)),
|
||||
dcc.Graph(
|
||||
figure=sentiment_trend_figure(articles, n),
|
||||
config={"displaylogo": False},
|
||||
),
|
||||
],
|
||||
),
|
||||
html.Div(
|
||||
|
Loading…
x
Reference in New Issue
Block a user