Skip to content

V3.2.1 doc #17638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jun 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c1653c5
DOC: GSOC and JHEP banners
tacaswell Dec 18, 2019
9a2f057
Merge pull request #16826 from tacaswell/doc_gsoc_banner
timhoffm Mar 18, 2020
da544e0
Backport PR #16906: update FAQ on how to register pandas converters
QuLogic Mar 27, 2020
8cfa2aa
Merge pull request #16928 from meeseeksmachine/auto-backport-of-pr-16…
QuLogic Mar 27, 2020
d9ace33
Backport PR #15387: fix tooltip display bug
tacaswell Mar 29, 2020
eaf5de0
Merge pull request #16955 from tacaswell/auto-backport-of-pr-15387-on…
QuLogic Mar 30, 2020
466dced
Backport PR #17006: Fix typo
story645 Apr 2, 2020
5a64dda
Merge pull request #17010 from meeseeksmachine/auto-backport-of-pr-17…
QuLogic Apr 2, 2020
7a9bc5e
Removed GSoC Banner
SidharthBansal Apr 8, 2020
1a0e4cc
Merge pull request #17045 from anntzer/docrefs
timhoffm Apr 6, 2020
96015b1
Merge pull request #17068 from SidharthBansal/patch-7
tacaswell Apr 8, 2020
2a55dd1
Backport PR #17120: [DOC] strip_signature_backslash
tacaswell Apr 13, 2020
4828bcb
Merge pull request #17121 from meeseeksmachine/auto-backport-of-pr-17…
tacaswell Apr 13, 2020
00b4074
Backport PR #17167: Fix misindented block in example.
dstansby Apr 17, 2020
7aae38c
Merge pull request #17178 from meeseeksmachine/auto-backport-of-pr-17…
QuLogic Apr 17, 2020
f52c17e
Backport PR #17383: yticks: Fix typos
QuLogic May 12, 2020
d35ebd0
Merge pull request #17384 from meeseeksmachine/auto-backport-of-pr-17…
tacaswell May 12, 2020
fbb7d5b
DOC: remove banner
tacaswell Jun 9, 2020
e751f95
Merge pull request #17598 from tacaswell/doc_remove_jhepc_banner
jklymak Jun 15, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,30 @@ figcaption {
#unreleased-message a {
color: #fff;
text-decoration:underline;

}

/* top-banner style message. */
#annc-banner {
box-sizing: border-box;
left: 0;
min-height: 3em;
padding: 0.7em;
top: 0;
width: 100%;
z-index: 10000;
background-image: linear-gradient(90deg, #440154, #482475, #414487, #355f8d, #2a788e, #21908d, #22a884, #42be71, #7ad151, #bddf26, #bddf26);
padding: 5px
}

#annc-banner a {
font-weight: bold;
}

#annc-banner p{
background-color: rgba(255, 255, 255, .8);
padding: 13px;
margin:0;
}

/* Fork me on GitHub "button" */
Expand Down Expand Up @@ -1079,10 +1103,6 @@ p.caption {
font-weight: bold;
}

div#gallery.section, div#tutorials.section {
overflow: hidden;
}

.sphx-glr-multi-img{
max-width: 99% !important;
}
Expand Down Expand Up @@ -1254,3 +1274,7 @@ div.bullet-box li {
flex: 0 0 90%;
}
}

div#gallery.section .sphx-glr-clear:first-of-type, div#tutorials.section .sphx-glr-clear:first-of-type{
display: none;
}
9 changes: 9 additions & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<li><a href="{{ pathto('contents') }}">contents</a> &raquo;</li>
{%- endblock %}


{%- block relbar1 %}{{ relbar() }}{% endblock %}
{%- block relbar2 %}{% endblock %}

Expand All @@ -27,7 +28,15 @@
Try searching for the released version of this page instead?
</a>
</div>

{%- endif %}

<!--
<div id="annc-banner">
</div>
-->

<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px; position: relative;">
{%- if builder in ('htmlhelp', 'devhelp', 'latex') %}
<a href="{{ pathto('index') }}">
Expand Down
8 changes: 7 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
# General configuration
# ---------------------

# Strip backslahes in function's signature
# To be removed when numpydoc > 0.9.x
strip_signature_backslash = True

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
Expand Down Expand Up @@ -103,7 +107,9 @@ def _check_dependencies():
else:
autodoc_default_options = {'members': None, 'undoc-members': None}

nitpicky = True
# missing-references names matches sphinx>=3 behavior, so we can't be nitpicky
# for older sphinxes.
nitpicky = sphinx.version_info >= (3,)
# change this to True to update the allowed failures
missing_references_write_json = False
missing_references_warn_unused_ignores = False
Expand Down
18 changes: 5 additions & 13 deletions doc/faq/howto_faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,12 @@ Plot `numpy.datetime64` values
As of Matplotlib 2.2, `numpy.datetime64` objects are handled the same way
as `datetime.datetime` objects.

If you prefer the pandas converters and locators, you can register their
converter with the `matplotlib.units` module::

from pandas.tseries import converter as pdtc
pdtc.register()

If you only want to use the `pandas` converter for `numpy.datetime64` values ::

from pandas.tseries import converter as pdtc
import matplotlib.units as munits
import numpy as np

munits.registry[np.datetime64] = pdtc.DatetimeConverter()
If you prefer the pandas converters and locators, you can register them. This
is done automatically when calling a pandas plot function and may be
unnecessary when using pandas instead of Matplotlib directly. ::

from pandas.plotting import register_matplotlib_converters
register_matplotlib_converters()


.. _howto-figure-empty:
Expand Down
Loading