Removes the style *name* if it exists. Raises an error if is does not exist.
(self, name)
| 513 | self.replaceStyle(name, style) |
| 514 | |
| 515 | def removeStyle(self, name): |
| 516 | """Removes the style *name* if it exists. Raises an error if is does not |
| 517 | exist.""" |
| 518 | del self.styles[name] |
| 519 | |
| 520 | def replaceStyle(self, name, style): |
| 521 | """Set the style by name. Overwrite the style with that name if it |