Skip to main content
11 events
when toggle format what by license comment
Aug 24, 2023 at 13:43 comment added Glen_b Three new examples occurred to me today while looking at this old answer.
Aug 24, 2023 at 13:41 comment added Glen_b @whuber thanks. Oddly that indentation was the very first thing I tried; my mistake was that later - after making another change in another part of the answer that partly solved the issue - I didn't return to considering the already attempted solution in the new situation.
Aug 24, 2023 at 12:42 history edited whuber CC BY-SA 4.0
added 16 characters in body
Aug 24, 2023 at 12:41 comment added whuber Indenting the triple backquotes (both at the beginning and end of each code block) restores the indentation. In cases where there are many paragraphs within each numbered or bulleted item of a list, I find it's simpler and clearer to use subheadings rather than automatic list numbering.
Aug 23, 2023 at 23:08 history edited Glen_b CC BY-SA 4.0
added 126 characters in body
Aug 23, 2023 at 22:19 comment added Glen_b I managed to get the first plot to appear but now the indenting is lost between the end of the code and the start of list item 2. --- It will have to suffice for now; I'll try again later
Aug 23, 2023 at 22:18 history edited Glen_b CC BY-SA 4.0
partial fix of triple backtick breaking the plot issue; indenting still lost before "2."
Aug 23, 2023 at 22:06 history edited kjetil b halvorsen CC BY-SA 4.0
deleted 5 characters in body
Aug 23, 2023 at 19:28 comment added whuber The code is slow only because you're plotting so many points. The calculations themselves are practically instantaneous. Tip: just plot the first thousand or so points, since they're in random order anyway. Then the entire exercise is still instantaneous and just as convincing.
Aug 23, 2023 at 18:39 history edited kjetil b halvorsen CC BY-SA 4.0
deleted 93 characters in body
Feb 26, 2022 at 1:05 history answered Glen_b CC BY-SA 4.0