Return True if a substring is not found anywhere in an axes
(substring: str, ax: mpl.axes.Axes)
| 105 | |
| 106 | |
| 107 | def substring_not_in_axes(substring: str, ax: mpl.axes.Axes) -> bool: |
| 108 | """ |
| 109 | Return True if a substring is not found anywhere in an axes |
| 110 | """ |
| 111 | alltxt: set[str] = {t.get_text() for t in ax.findobj(mpl.text.Text)} |
| 112 | check = [(substring not in txt) for txt in alltxt] |
| 113 | return all(check) |
| 114 | |
| 115 | |
| 116 | def property_in_axes_text( |
no outgoing calls
no test coverage detected
searching dependent graphs…