Skip to content

Commit

Permalink
change color and line mode #122
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierCladellas committed Dec 18, 2024
1 parent 58d2ad4 commit 3f7cfe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/feelpp/benchmarking/report/figureFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def createAnimation(self,df):
frame_traces = []
for i,col in enumerate(self.fill_lines):
frame_traces.append(
go.Scatter( x = frame_df.index, y = frame_df.loc[:,col], name = col, fill='tonexty' if i > 0 else None)
go.Scatter( x = frame_df.index, y = frame_df.loc[:,col], name = col, fill='tonexty' if i > 0 else None, line=dict(color="black",dash="dash") ,mode="lines")
)

for col in [c for c in frame_df.columns if c not in self.fill_lines]:
Expand Down Expand Up @@ -100,7 +100,7 @@ def createSimple(self,df):
)
for i,col in enumerate(self.fill_lines):
figure.add_trace(
go.Scatter( x = df.index, y = df.loc[:,col], name = col, fill='tonexty' if i < len(self.fill_lines) else None)
go.Scatter( x = df.index, y = df.loc[:,col], name = col, fill='tonexty' if i < len(self.fill_lines) else None, line=dict(color="black",dash="dash") ,mode="lines")
)

for col in [c for c in df.columns if c not in self.fill_lines]:
Expand Down

0 comments on commit 3f7cfe7

Please sign in to comment.