Browse Source

!56 fix histogram bugs

Merge pull request !56 from wenkai/wk0421
tags/v0.2.0-alpha
mindspore-ci-bot Gitee 6 years ago
parent
commit
42cb780f77
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindinsight/datavisual/data_transform/histogram_container.py

+ 1
- 1
mindinsight/datavisual/data_transform/histogram_container.py View File

@@ -42,7 +42,7 @@ class HistogramContainer:
self._visual_min = self._min
# default bin number
self._visual_bins = 10
self._count = self._msg.count
self._count = sum(bucket[2] for bucket in self._original_buckets)
# Note that tuple is immutable, so sharing tuple is often safe.
self._re_sampled_buckets = self._original_buckets



Loading…
Cancel
Save