Skip to content

Commit

Permalink
Remove bottom spine of lines
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloneves committed Sep 8, 2021
1 parent c7d7a1a commit a16a07b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 33 deletions.
6 changes: 3 additions & 3 deletions charp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
CharP is Charts for Paulo — Paulos aux functions and preferences for beautiful
and functional charts
"""
from typing import List, Iterable
from typing import Iterable, List

import matplotlib.pyplot as plt
import numpy as np
from matplotlib.text import Text

plt.style.use("./paulo.mplstyle")
Expand Down Expand Up @@ -101,8 +102,7 @@ def line(ax=None):
if ax is None:
ax = plt.gca()

import numpy as np

ax.spines["bottom"].set_visible(False)
for line in ax.lines:
data_x, data_y = line.get_data()

Expand Down
61 changes: 31 additions & 30 deletions plots.ipynb

Large diffs are not rendered by default.

0 comments on commit a16a07b

Please sign in to comment.