We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e86e20 commit c856329Copy full SHA for c856329
src/easydiffraction/plotting/plotters/plotter_ascii.py
@@ -33,7 +33,7 @@ def plot(self,
33
height=None):
34
35
title = paragraph(title)
36
- legend = " | ".join([self._get_legend_item(label) for label in labels])
+ legend = "\n".join([self._get_legend_item(label) for label in labels])
37
38
if height is None:
39
height = DEFAULT_HEIGHT
@@ -45,5 +45,5 @@ def plot(self,
45
46
print(f"{title}")
47
print(f"Displaying data for selected x-range from {x[0]} to {x[-1]} ({len(x)} points)")
48
- print(f"Legend: {legend}")
+ print(f"Legend:\n{legend}")
49
print(chart)
0 commit comments