Skip to content

Commit

Permalink
fix grid labels
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Aug 9, 2023
1 parent 1138f91 commit c1180a3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion c3s_eqc_automatic_quality_control/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,15 @@ def projected_map(
if isinstance(plot_obj, FacetGrid):
for ax in plot_obj.axs.flat:
ax.coastlines()
ax.gridlines()
ax.gridlines(draw_labels=False)

for ax in plot_obj.axs[-1, :]:
for gl in ax._gridliners:
gl.bottom_labels = True

for ax in plot_obj.axs[:, 0]:
for gl in ax._gridliners:
gl.left_labels = True

if show_stats:
warnings.warn(
Expand Down

0 comments on commit c1180a3

Please sign in to comment.