Add title and run common changes
(self, ax)
| 79 | self._statuses['color'] = self._statuses['status'].map(self._colormap) |
| 80 | |
| 81 | def _tweak_axes(self, ax): |
| 82 | """Add title and run common changes""" |
| 83 | # Set limits |
| 84 | ax.set_title('Calculation Dependency Tree', fontsize=20) |
| 85 | ax.set_xlim(0, 9_400) |
| 86 | ax.set_ylim(0, 2_900) |
| 87 | # Disappear axes and spines |
| 88 | for axis in [ax.xaxis, ax.yaxis]: |
| 89 | axis.set_visible(False) |
| 90 | for spine_name in ['left', 'right', 'top', 'bottom']: |
| 91 | ax.spines[spine_name].set_visible(False) |
| 92 | return ax |
| 93 | |
| 94 | def _generate_rects(self, ax): |
| 95 | """Generate rectangles, which cannot be done via apply""" |