|
302 | 302 | ],
|
303 | 303 | marginal=[
|
304 | 304 | "str",
|
305 |
| - "One of `'rug'`, `'box'`, `'violin'`, `'histogram'`.", |
| 305 | + "One of `'rug'`, `'box'`, `'violin'`, or `'histogram'`.", |
306 | 306 | "If set, a subplot is drawn alongside the main plot, visualizing the distribution.",
|
307 | 307 | ],
|
308 | 308 | marginal_x=[
|
309 | 309 | "str",
|
310 |
| - "One of `'rug'`, `'box'`, `'violin'`, `'histogram'`.", |
| 310 | + "One of `'rug'`, `'box'`, `'violin'`, or `'histogram'`.", |
311 | 311 | "If set, a horizontal subplot is drawn above the main plot, visualizing the x-distribution.",
|
312 | 312 | ],
|
313 | 313 | marginal_y=[
|
314 | 314 | "str",
|
315 |
| - "One of `'rug'`, `'box'`, `'violin'`, `'histogram'`.", |
| 315 | + "One of `'rug'`, `'box'`, `'violin'`, or `'histogram'`.", |
316 | 316 | "If set, a vertical subplot is drawn to the right of the main plot, visualizing the y-distribution.",
|
317 | 317 | ],
|
318 | 318 | trendline=[
|
319 | 319 | "str",
|
320 |
| - "One of `'rug'`, `'box'`, `'violin'`, `'histogram'`.", |
| 320 | + "One of `'ols'` or `'lowess'`.", |
321 | 321 | "If `'ols'`, an Ordinary Least Squares regression line will be drawn for each discrete-color/symbol group.",
|
322 | 322 | "If `'lowess`', a Locally Weighted Scatterplot Smoothing line will be drawn for each discrete-color/symbol group.",
|
323 | 323 | ],
|
|
336 | 336 | ],
|
337 | 337 | direction=[
|
338 | 338 | "str",
|
339 |
| - "One of '`counterclockwise'`, `'clockwise'`. Default is `'clockwise'`", |
| 339 | + "One of '`counterclockwise'` or `'clockwise'`. Default is `'clockwise'`", |
340 | 340 | "Sets the direction in which increasing values of the angular axis are drawn.",
|
341 | 341 | ],
|
342 | 342 | start_angle=[
|
|
345 | 345 | ],
|
346 | 346 | histfunc=[
|
347 | 347 | "str (default `'count'`)",
|
348 |
| - "One of `'count'`, `'sum'`, `'avg'`, `'min'`, `'max'`." |
| 348 | + "One of `'count'`, `'sum'`, `'avg'`, `'min'`, or `'max'`." |
349 | 349 | "Function used to aggregate values for summarization (note: can be normalized with `histnorm`).",
|
350 | 350 | "The arguments to this function for `histogram` are the values of `y` if `orientation` is `'v'`,",
|
351 | 351 | "otherwise the arguements are the values of `x`.",
|
352 | 352 | "The arguments to this function for `density_heatmap` and `density_contour` are the values of `z`.",
|
353 | 353 | ],
|
354 | 354 | histnorm=[
|
355 | 355 | "str (default `None`)",
|
356 |
| - "One of `'percent'`, `'probability'`, `'density'`, `'probability density'`", |
| 356 | + "One of `'percent'`, `'probability'`, `'density'`, or `'probability density'`", |
357 | 357 | "If `None`, the output of `histfunc` is used as is.",
|
358 | 358 | "If `'probability'`, the output of `histfunc` for a given bin is divided by the sum of the output of `histfunc` for all bins.",
|
359 | 359 | "If `'percent'`, the output of `histfunc` for a given bin is divided by the sum of the output of `histfunc` for all bins and multiplied by 100.",
|
|
411 | 411 | line_shape=["str (default `'linear'`)", "One of `'linear'` or `'spline'`."],
|
412 | 412 | scope=[
|
413 | 413 | "str (default `'world'`).",
|
414 |
| - "One of `'world'`, `'usa'`, `'europe'`, `'asia'`, `'africa'`, `'north america'`, `'south america'`)" |
| 414 | + "One of `'world'`, `'usa'`, `'europe'`, `'asia'`, `'africa'`, `'north america'`, or `'south america'`)" |
415 | 415 | "Default is `'world'` unless `projection` is set to `'albers usa'`, which forces `'usa'`.",
|
416 | 416 | ],
|
417 | 417 | projection=[
|
418 | 418 | "str ",
|
419 |
| - "One of `'equirectangular'`, `'mercator'`, `'orthographic'`, `'natural earth'`, `'kavrayskiy7'`, `'miller'`, `'robinson'`, `'eckert4'`, `'azimuthal equal area'`, `'azimuthal equidistant'`, `'conic equal area'`, `'conic conformal'`, `'conic equidistant'`, `'gnomonic'`, `'stereographic'`, `'mollweide'`, `'hammer'`, `'transverse mercator'`, `'albers usa'`, `'winkel tripel'`, `'aitoff'`, `'sinusoidal'`" |
| 419 | + "One of `'equirectangular'`, `'mercator'`, `'orthographic'`, `'natural earth'`, `'kavrayskiy7'`, `'miller'`, `'robinson'`, `'eckert4'`, `'azimuthal equal area'`, `'azimuthal equidistant'`, `'conic equal area'`, `'conic conformal'`, `'conic equidistant'`, `'gnomonic'`, `'stereographic'`, `'mollweide'`, `'hammer'`, `'transverse mercator'`, `'albers usa'`, `'winkel tripel'`, `'aitoff'`, or `'sinusoidal'`" |
420 | 420 | "Default depends on `scope`.",
|
421 | 421 | ],
|
422 | 422 | center=[
|
|
426 | 426 | ],
|
427 | 427 | points=[
|
428 | 428 | "str or boolean (default `'outliers'`)",
|
429 |
| - "One of `'all'`, `'outliers'`, or `False`.", |
| 429 | + "One of `'outliers'`, `'suspectedoutliers'`, `'all'`, or `False`.", |
| 430 | + "If `'outliers'`, only the sample points lying outside the whiskers are shown.", |
| 431 | + "If `'suspectedoutliers'`, all outlier points are shown and those less than 4*Q1-3*Q3 or greater than 4*Q3-3*Q1 are highlighted with the marker's `'outliercolor'`.", |
430 | 432 | "If `'outliers'`, only the sample points lying outside the whiskers are shown.",
|
431 | 433 | "If `'all'`, all sample points are shown.",
|
432 |
| - "If `False`, no sample points are shown", |
| 434 | + "If `False`, no sample points are shown and the whiskers extend to the full range of the sample.", |
433 | 435 | ],
|
434 | 436 | box=["boolean (default `False`)", "If `True`, boxes are drawn inside the violins."],
|
435 | 437 | notched=["boolean (default `False`)", "If `True`, boxes are drawn with notches."],
|
|
444 | 446 |
|
445 | 447 |
|
446 | 448 | def make_docstring(fn):
|
447 |
| - tw = TextWrapper(width=79, initial_indent=" ", subsequent_indent=" ") |
| 449 | + tw = TextWrapper(width=77, initial_indent=" ", subsequent_indent=" ") |
448 | 450 | result = (fn.__doc__ or "") + "\nParameters\n----------\n"
|
449 | 451 | for param in inspect.getargspec(fn)[0]:
|
450 | 452 | param_desc_list = docs[param][1:]
|
|
0 commit comments