@@ -52,8 +52,7 @@ class BaseDrawer(ABC):
52
52
53
53
draw_line
54
54
55
- This method plots a line from provided X and Y values. This method is typically called with
56
- interpolated x and y values from a curve-fit.
55
+ This method plots a line from provided X and Y values.
57
56
58
57
draw_filled_y_area
59
58
@@ -70,18 +69,16 @@ class BaseDrawer(ABC):
70
69
draw_text_box
71
70
72
71
This method draws a text-box on the canvas, which is a rectangular region containing some text.
73
- This method is typically called with a list of analysis results and reduced chi-squared values
74
- from a curve-fit.
75
72
76
73
Options and Figure Options
77
74
==========================
78
75
79
76
Drawers have both :attr:`options` and :attr:`figure_options` available to set parameters that define
80
- how to drawer and what is drawn. :class:`BasePlotter` is similar in that it also has ``options`` and
81
- ``figure_options`. The former contains class-specific variables that define how an instance behaves.
82
- The latter contains figure-specific variables that typically contain values that are drawn on the
83
- canvas, such as text. For details on the difference between the two sets of options, see the
84
- documentation for :class:`BasePlotter`.
77
+ how to draw and what is drawn, respectively . :class:`BasePlotter` is similar in that it also has
78
+ ``options`` and `` figure_options`. The former contains class-specific variables that define how an
79
+ instance behaves. The latter contains figure-specific variables that typically contain values that
80
+ are drawn on the canvas, such as text. For details on the difference between the two sets of options,
81
+ see the documentation for :class:`BasePlotter`.
85
82
86
83
.. note::
87
84
If a drawer instance is used with a plotter, then there is the potential for any figure-option
@@ -337,11 +334,11 @@ def draw_line(
337
334
legend : bool = False ,
338
335
** options ,
339
336
):
340
- """Draw fit line.
337
+ """Draw a line.
341
338
342
339
Args:
343
340
x_data: X values.
344
- y_data: Fit Y values.
341
+ y_data: Y values.
345
342
name: Name of this series.
346
343
label: Optional legend label to override ``name`` and ``series_params``.
347
344
legend: Whether the drawn area must have a legend entry. Defaults to False.
0 commit comments