Message Boards Message Boards

0
|
5678 Views
|
7 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Histogram gives unsightly warnings

Posted 4 years ago

Every Histogram example I have tried in Mathematica 12.1 gives a warning, although it also displays the histogram correctly.

For instance:

Histogram[RandomVariate[NormalDistribution[0,1],200]]

gives

Set::shape: Lists {Histogram`HistogramListDump`prmin$131925,Histogram`HistogramListDump`prmax$131925} and Charting`computeSceneRange[1][{...list of numbers...},<<1>>,{0.,0.}] are not the same shape.

Is there some magic update I need to apply?

POSTED BY: roger 567
7 Replies
Posted 4 years ago

Thanks Szabolcs, $Version says

12.1.0 for Microsoft Windows (64-bit) (July 23, 2019)

I was sent this 2 weeks ago by Wolfram for evaluation. And it is failing!

POSTED BY: roger 567
Posted 4 years ago

That is a very old prerelease. The 12.1.0 release version has a date of March 14, 2020.

POSTED BY: Rohit Namjoshi

Is there some magic update I need to apply?

What version are you using? What does $Version return when you evaluate it (please post the output, precisely as it is shown)?

POSTED BY: Szabolcs Horvát

The reason why I asked is that this exact bug was present in one of the early prereleases, but it was already fixed 8 months ago. If you have a prerelease, you should upgrade to the final version. Generally, it is not a good idea to rely on prereleases as they are expected to have bugs, including crashes, which you complained about in your other question: https://community.wolfram.com/groups/-/m/t/1933586

POSTED BY: Szabolcs Horvát

Dear all,

I cannot reproduce that issue either.

You can try this procedure:

https://support.wolfram.com/12464?src=mathematica

Best wishes,

Marco

POSTED BY: Marco Thiel
Posted 4 years ago

Thanks Mariusz, but no it is still the same. It is the same if I close and re-open Mathematica and then open Histogram in the help system and execute the examples.

POSTED BY: roger 567

For me works fine. Maybe execute this:

 ClearAll["`*"]; Remove["`*"];

and try again.

Regards M.I.

POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract