Remove non-budget categories for plot
This commit is contained in:
parent
396ef9ead5
commit
60bdff43e7
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ def timeline(request):
|
|||
|
||||
@login_required
|
||||
def categories(request):
|
||||
_categories = Category.objects.all()
|
||||
_categories = Category.objects.filter(budget=True)
|
||||
|
||||
fig, ax = plt.subplots(figsize=(8, _categories.count() / 4))
|
||||
ax.barh(
|
||||
|
|
Loading…
Reference in a new issue