This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from nschloe/plotstyle
use plotstyle
- Loading branch information
Showing
15 changed files
with
237 additions
and
290 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# cleanplotlib Code of Conduct | ||
# dufte Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .__about__ import __version__ | ||
from .main import legend | ||
|
||
__all__ = ["__version__", "legend"] |
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,33 @@ | ||
font.size: 14 | ||
|
||
# dufte is used via perfplot on stackoverflow which has a light (#fffff) and a | ||
# dark (#2d2d2d) variant. The midpoint, #969696, should be well readable on both. (And | ||
# stays in the background, like a grid should.) | ||
text.color : 969696 | ||
|
||
axes.labelcolor: 969696 | ||
|
||
axes.spines.left : False | ||
axes.spines.bottom : False | ||
axes.spines.top : False | ||
axes.spines.right : False | ||
|
||
ytick.left : False | ||
ytick.right: False | ||
ytick.color: 969696 | ||
|
||
xtick.minor.visible: False | ||
xtick.color: 969696 | ||
|
||
axes.grid: True | ||
axes.grid.axis: y | ||
grid.color : 969696 | ||
grid.linewidth : 0.5 | ||
# grid.linestyle : -- | ||
# grid.dashes : 10, 10 | ||
|
||
# mpl uses category10 by default, we use cat20, | ||
# <https://github.com/d3/d3-3.x-api-reference/blob/master/Ordinal-Scales.md#category20>, | ||
# which basically adds one pale color version of each color in cat10. | ||
# Change the order such that the first 10 are cat10. | ||
axes.prop_cycle : cycler("color", ["1f77b4", "ff7f0e", "2ca02c", "d62728", "9467bd", "8c564b", "e377c2", "7f7f7f", "bcbd22", "17becf", "aec7e8", "ffbb78", "98df8a", "ff9896", "c5b0d5", "c49c94", "f7b6d2", "c7c7c7", "dbdb8d", "9edae5"]) |
Oops, something went wrong.