|
1409 | 1409 | " redraw_axes_kwargs: dict\n",
|
1410 | 1410 | " ):\n",
|
1411 | 1411 | " \"\"\"\n",
|
1412 |
| - " Aesthetic adjustments for the Gardner-Altman plot.\n", |
| 1412 | + " Aesthetic adjustments specific to Gardner-Altman plots (float_contrast=True).\n", |
1413 | 1413 | " \n",
|
1414 | 1414 | " Parameters\n",
|
1415 | 1415 | " ----------\n",
|
|
1600 | 1600 | " reflines_kwargs : dict,\n",
|
1601 | 1601 | " extra_delta : bool,\n",
|
1602 | 1602 | " ):\n",
|
| 1603 | + " \"\"\"\n", |
| 1604 | + " Draw the independent axis spine lines.\n", |
| 1605 | + "\n", |
| 1606 | + " Parameters\n", |
| 1607 | + " ----------\n", |
| 1608 | + " ax : object (Axes)\n", |
| 1609 | + " The contrast data axes.\n", |
| 1610 | + " horizontal : bool\n", |
| 1611 | + " A boolean flag to determine if the plot is for horizontal plotting.\n", |
| 1612 | + " reflines_kwargs : dict\n", |
| 1613 | + " Additional keyword arguments to be passed to the zeroline.\n", |
| 1614 | + " extra_delta : bool\n", |
| 1615 | + " A boolean flag to determine if the plot includes an extra delta (delta-delta or mini-meta).\n", |
| 1616 | + " \"\"\"\n", |
1603 | 1617 | " # If 0 lies within the ylim of the contrast axes, draw a zero reference line.\n",
|
1604 | 1618 | " if extra_delta and not horizontal:\n",
|
1605 | 1619 | " contrast_xlim = [-0.5, 3.4]\n",
|
|
1638 | 1652 | " ticks_to_skip : list,\n",
|
1639 | 1653 | " temp_idx : list,\n",
|
1640 | 1654 | " ticks_to_skip_contrast : list,\n",
|
1641 |
| - " extra_delta : bool,\n", |
1642 | 1655 | " redraw_axes_kwargs : dict\n",
|
1643 | 1656 | " ):\n",
|
| 1657 | + " \"\"\"\n", |
| 1658 | + " Draw the independent axis spine lines.\n", |
| 1659 | + "\n", |
| 1660 | + " Parameters\n", |
| 1661 | + " ----------\n", |
| 1662 | + " rawdata_axes : object (Axes)\n", |
| 1663 | + " The raw data axes.\n", |
| 1664 | + " contrast_axes : object (Axes)\n", |
| 1665 | + " The contrast axes.\n", |
| 1666 | + " horizontal : bool\n", |
| 1667 | + " A boolean flag to determine if the plot is for horizontal plotting.\n", |
| 1668 | + " two_col_sankey : bool\n", |
| 1669 | + " A boolean flag to determine if the plot is for two-col sankey.\n", |
| 1670 | + " ticks_to_start_twocol_sankey : list\n", |
| 1671 | + " A list of ticks to start for sankey plot.\n", |
| 1672 | + " idx : list\n", |
| 1673 | + " A list of indices.\n", |
| 1674 | + " is_paired : bool\n", |
| 1675 | + " A boolean flag to determine if the data is paired.\n", |
| 1676 | + " show_pairs : bool\n", |
| 1677 | + " A boolean flag to determine if pairs should be shown.\n", |
| 1678 | + " proportional : bool\n", |
| 1679 | + " A boolean flag to determine if the plot is proportional/binary.\n", |
| 1680 | + " ticks_to_skip : list,\n", |
| 1681 | + " A list of ticks to be skipped in the raw data axes.\n", |
| 1682 | + " temp_idx : list,\n", |
| 1683 | + " A temporary list of indices to be used for skipping ticks in the raw data axes.\n", |
| 1684 | + " ticks_to_skip_contrast : list,\n", |
| 1685 | + " A list of ticks to be skipped in the contrast axes.\n", |
| 1686 | + " redraw_axes_kwargs : dict\n", |
| 1687 | + " Kwargs passed to the redraw axes.\n", |
| 1688 | + " \"\"\"\n", |
1644 | 1689 | " # Extract the ticks\n",
|
1645 | 1690 | " if two_col_sankey:\n",
|
1646 | 1691 | " rightend_ticks_raw = rightend_ticks_contrast = np.array([len(i) - 2 for i in idx]) + np.array(ticks_to_start_twocol_sankey)\n",
|
|
1709 | 1754 | " delta2_axes: axes.Axes\n",
|
1710 | 1755 | " ):\n",
|
1711 | 1756 | " \"\"\"\n",
|
1712 |
| - " Aesthetic general adjustments across both GA and Cumming plots.\n", |
| 1757 | + " Draw the dependent axis spine lines.\n", |
1713 | 1758 | "\n",
|
1714 | 1759 | " Parameters\n",
|
1715 | 1760 | " ----------\n",
|
|
1719 | 1764 | " The contrast axes.\n",
|
1720 | 1765 | " redraw_axes_kwargs : dict\n",
|
1721 | 1766 | " Kwargs passed to the redraw axes.\n",
|
1722 |
| - " plot_kwargs : dict\n", |
1723 |
| - " Kwargs passed to the plot function.\n", |
1724 | 1767 | " float_contrast : bool\n",
|
1725 | 1768 | " A boolean flag to determine if the plot is GA or Cum\n",
|
1726 | 1769 | " horizontal : bool\n",
|
|
0 commit comments