Skip to content

Commit

Permalink
Minor ticks removed
Browse files Browse the repository at this point in the history
  • Loading branch information
hexengraf committed Jul 5, 2017
1 parent 5f64657 commit 749ec77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t5/dendrogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ def plot(data):
else:
(leafs, xticks) = __plot_tree(data)

ml = MultipleLocator(xoffset)
# ml = MultipleLocator(xoffset)
ax = plt.gca()
ax.set_yticks(list(range(len(leafs))))
ax.set_yticklabels(leafs)
ax.set_xlim(0, max(xticks) + xoffset)
ax.set_xticks(xticks)
ax.xaxis.set_minor_locator(ml)
# ax.xaxis.set_minor_locator(ml)
ax.yaxis.set_tick_params(width = linewidth)

if xgrid:
Expand Down

0 comments on commit 749ec77

Please sign in to comment.