Closed ea42gh closed 4 years ago
@ea42gh Thanks for all these suggestions!
Skimming your suggested fixes, I think they look good and I am happy to implement them myself (but that will probably have to wait till after I get back from SciPy). Alternatively, I would be very happy to accept a PR!
Dimensioned_Containers.html
Overall component: work out the different representation options a bit more After reading this page, I came away with 'Holomap==sliders, other ways to represent data, uh, what were they again??
Might add scrubber output too?
http://holoviews.org/user_guide/Composing_Elements.html (copied from issue 1661 to consolidate minor doc fixes in one place)
Building_Composite_Objects.html
Live_Data.html
@ea42gh Thanks again!
Just note that PR #1730 fixed a bunch of typos and has now been merged. I believe it only fixed typos that could be found with a spellchecker though...
@jlstevens I intend to start editing the actual pages sometimes after this coming weekend: I'll start from the latest docs in github, and will ask how best to transfer changes back. I expect "PR", however that is done, since I already have a checked out version
If you haven't started editing, you might hold off until Wednesday night, because I'm about to take a transatlantic flight and will probably have some time to make general edits that will probably cover things that you've listed.
http://holoviews.org/user_guide/Composing_Elements.html(copied from issue 1661 to consolidate minor doc fixes in one place)
All the above comments on 02_Composing_Elements should be addressed in PR https://github.com/ioam/holoviews/pull/1752 , which also cleans up 01_Annotating_Data. I checked all of the boxes in that section above to indicate that they have been dealt with. I don't have any other outstanding changes to the docs, so we'd welcome a PR covering any of the other guides listed above.
Plots_and_Renderers.html Code:
sorted(hv.Store.registry['matplotlib'].items())[0:5]
fails with python3model = bokeh_layout_plot.update(0)
bokeh_layout_plot was not importedThanks @ea42gh!
There is also a print without parens that I fixed in my version together with some of the phrasing. I'll need to struggle with git some more to submit the changes...
We should fix the remaining issues shortly after 1.9.2 if we can. And yes, thanks @ea42gh!
waiting for those fixes, then I'll start reading the docs again! (some vacation time coming up...)
The PR referenced above will implement a subset of the remaining suggestions (not all as some suggestions require additional discussion).
Most of the checkboxes are ticked off now (once the PR above is merged). As there are a few outstanding items, I'll now assign this issue to 1.11.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Customizing_Plots.html
I made notes as I was reading the documentation. Here are observations and suggestions as they occurred to me. They are of course idiosyncratic...
[x] Start with 3 types of options that can be specified by function arguments or by cell magics:
[x] 'instance that normally work behind the scenes': work -> works
[x] '(2) this customization syntax that is specific': that is specific -> is specific
[x] 'Let's start with the one difference to how': difference compared to what? Just start with the effect of '.cols(2)'
[x] 'Let's start with the one difference to how...with the curve above the spikes instead of next to it.': -> rephrase; default behavior is that plot elements appear on the same level: the spikes will be to the right of the curve. 'cols()' adjusts the relative positions of the plot.
[x] '%%output size=150': sizing and element arrangement is very backend specific. You might consider a whole section describing how to control size and arrangement options in bokeh and in matplotlib: I struggled with it a lot when I got started with hv.
[x] 'a corresponding cell line magic to set things globally': -> The corresponding cell line magic '%output size=150' sets this default globally for all cells in the notebook.
[x] 'These list of keywords are plot options': -> 'These keywords are' or 'This list is'
[x] 'spikes plot underneath which is why we specified': Interchange parts of the sentence. The height and width specifications yield an elongated curve plot ...
[x] 'plot will give us a suitable millisecond below': a plot does not give milliseconds
[x] ' style options with are Bokeh specific': ->'options which are' or maybe 'Bokeh specific style options'
[x] 'Lastly we have use the %%opts cell magic to': -> The final cell magic customizes the Spikes element
[x] 'Now we have worked through a concrete examples,...': -> 'Now that...example,...' Better yet, tighten the sentence.
[x] 'Here are the three types of visualization options in HoloViews': This sentence is superfluous, especially if you introduce the notion of option types earlier.
[x] 'The default backend is matplotlib,': default??? the notebook extension statement at the top of the notebook made Bokeh the default backend
[x] 'to see the plotting library's own documentation': ->to read the documentation
[x] 'if one of those backends were selected': -> the different capabilities of each backend would result in backened specific style options.
[x] 'orthogonally to the above two types, to control normalization. Normalization': -> 'orthogonally to the above two types: normalization refers to'
[x] 'For instance, two images normalized together': The first effect of normalization users would notice is shared axes, rather than shared color mapping in images. 'normalized together': ?? How about stating that hv by default chooses to share axes, colormaps, ..., and only then provide the examples of two plots with expanded axes and two images with common colormaps
[x] 'For this reason, all options are fundamentally reduced to a simple dictionary format': ?? -> A simpler sentence such as 'All options are expressed using python dictionaries.' List the opts() call default names: opts(style=dict(), plot=dict(), normalization???= dict()), then show the example.
[x] 'the succinct string format describe below, ': -> ... described...
[x] ' use of yaml is that yaml to literals and cannot express': fix sentence
[x] '[[path] [normalization] [plotting options] [style options]]+': this is not the grammar that is actually implemented? E.g., normalization typically follows style in the documentation examples.
[x] 'cell magic : IPython specific syntax applies to displayed object': -> ... applies in the notebook cell in which the statement appears
[x] 'As shown in the examples above, customizes a ': -> ... above, %%opts statements customize ...
[x] 'If supplied with an object, acts like': sentence subject?
[x] 'If not object is supplied': -> If no object...