Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Be a bit more stringent on invalid inputs.
and give the user fewer ways to shoot themselves in the foot. The change in backend_cairo is on private API; _save is only ever called by the various print_foo methods, with a valid fmt.
- Loading branch information
Showing
7 changed files
with
43 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Invalid inputs | ||
`````````````` | ||
|
||
Passing invalid locations to `legend` and `table` used to fallback on a default | ||
location. This behavior is deprecated and will throw an exception in a future | ||
version. | ||
|
||
`offsetbox.AnchoredText` is unable to handle the ``horizontalalignment`` or | ||
``verticalalignment`` kwargs, and used to ignore them with a warning. This | ||
behavior is deprecated and will throw an exception in a future version. | ||
|
||
Passing steps less than 1 or greater than 10 to `MaxNLocator` used to result in | ||
undefined behavior. It now throws a ValueError. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters