Browse Source

fix incorrect count. count now not contain invalid number

tags/v0.2.0-alpha
wenkai 6 years ago
parent
commit
6961781599
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