Skip to content

Commit

Permalink
fix(styles): remove need for platform evaluation (#2188)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhughes-usgs authored May 9, 2024
1 parent 12f80dc commit acfd0d3
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 61 deletions.
2 changes: 1 addition & 1 deletion flopy/plot/mplstyle/usgsmap.mplstyle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
font.family: sans-serif
font.sans-serif: Arial
font.sans-serif: Arial, Liberation Sans, DejaVu Sans
font.size: 7
axes.labelsize: 9
axes.titlesize: 9
Expand Down
28 changes: 0 additions & 28 deletions flopy/plot/mplstyle/usgsmap_linux.mplstyle

This file was deleted.

2 changes: 1 addition & 1 deletion flopy/plot/mplstyle/usgsplot.mplstyle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
font.family: sans-serif
font.sans-serif: Arial
font.sans-serif: Arial, Liberation Sans, DejaVu Sans
font.size: 7
axes.labelsize: 9
axes.titlesize: 9
Expand Down
28 changes: 0 additions & 28 deletions flopy/plot/mplstyle/usgsplot_linux.mplstyle

This file was deleted.

3 changes: 0 additions & 3 deletions flopy/plot/styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class styles:
_ws = os.path.abspath(os.path.dirname(__file__))
_map_style = os.path.join(_ws, "mplstyle", "usgsmap.mplstyle")
_plot_style = os.path.join(_ws, "mplstyle", "usgsplot.mplstyle")
if platform.system() == "linux":
_map_style = os.path.join(_ws, "mplstyle", "usgsmap_linux.mplstyle")
_plot_style = os.path.join(_ws, "mplstyle", "usgsplot_linux.mplstyle")

@classmethod
def USGSMap(cls):
Expand Down

0 comments on commit acfd0d3

Please sign in to comment.