Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] Deprecate gtk, gdk and wx backends and remove Cocoaagg#6574

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
Show file tree
Hide file tree
Changes fromall commits
Commits
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
13 changes: 10 additions & 3 deletionsdoc/make.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,6 +7,7 @@
import sys
import re
import argparse
import matplotlib

def copy_if_out_of_date(original, derived):
if (not os.path.exists(derived) or
Expand DownExpand Up@@ -38,7 +39,13 @@ def linkcheck():

def html(buildername='html'):
check_build()
copy_if_out_of_date('../lib/matplotlib/mpl-data/matplotlibrc', '_static/matplotlibrc')

rc = '../lib/matplotlib/mpl-data/matplotlibrc'
default_rc = os.path.join(matplotlib._get_data_path(), 'matplotlibrc')
if not os.path.exists(rc) and os.path.exists(default_rc):
rc = default_rc
copy_if_out_of_date(rc, '_static/matplotlibrc')

if small_docs:
options = "-D plot_formats=png:80"
else:
Expand DownExpand Up@@ -167,9 +174,9 @@ def all():
raise RuntimeError("doc/{0} should be a directory or symlink -- it"
" isn't".format(link))
if not os.path.exists(link):
if hasattr(os, 'symlink'):
try:
os.symlink(target, link)
else:
except OSError:
symlink_warnings.append('files copied to {0}'.format(link))
shutil.copytree(os.path.join(link, '..', target), link)

Expand Down
2 changes: 1 addition & 1 deletiondoc/users/screenshots.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -279,7 +279,7 @@ rendering of strings with the *usetex* option.
EEG demo
=========

You can embed matplotlib into pygtk, wx, Tk,FLTK,or Qt applications.
You can embed matplotlib into pygtk, wx, Tk, or Qt applications.
Here is a screenshot of an EEG viewer called `pbrain
<http://github.com/nipy/pbrain>`__.

Expand Down
2 changes: 1 addition & 1 deletionexamples/README.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -38,6 +38,6 @@ directories found here:
* units - working with unit data an custom types in matplotlib

* user_interfaces - using matplotlib in a GUI application, e.g.,
TkInter, WXPython, pygtk, pyqtor FLTKwidgets
TkInter, WXPython, pygtk, pyqt widgets

* widgets - Examples using interactive widgets
1 change: 0 additions & 1 deletionexamples/event_handling/test_mouseclicks.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,7 +6,6 @@
#matplotlib.use("TkAgg")
#matplotlib.use("GTKAgg")
#matplotlib.use("Qt4Agg")
#matplotlib.use("CocoaAgg")
#matplotlib.use("MacOSX")
import matplotlib.pyplot as plt

Expand Down
4 changes: 1 addition & 3 deletionsexamples/user_interfaces/README.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,11 +3,9 @@ Embedding matplotlib in graphical user interfaces

You can embed matplotlib directly into a user interface application by
following the embedding_in_SOMEGUI.py examples here. Currently
matplotlib supports wxpython, pygtk, tkinter, pyqt, fltkandcocoa.
matplotlib supports wxpython, pygtk, tkinterandpyqt4/5.

When embedding matplotlib in a GUI, you must use the matplotlib API
directly rather than the pylab/pyplot proceedural interface, so take a
look at the examples/api directory for some example code working with
the API.


2 changes: 1 addition & 1 deletionextern/ttconv/ttutil.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -76,7 +76,7 @@ void TTStreamWriter::putline(const char *a)
void replace_newlines_with_spaces(char *a) {
char* i = a;
while (*i != 0) {
if (*i == '\n')
if (*i == '\r' || *i == '\n')
*i = ' ';
i++;
}
Expand Down
59 changes: 0 additions & 59 deletionslib/matplotlib/backends/Matplotlib.nib/classes.nib
View file
Open in desktop

This file was deleted.

16 changes: 0 additions & 16 deletionslib/matplotlib/backends/Matplotlib.nib/info.nib
View file
Open in desktop

This file was deleted.

Loading

[8]ページ先頭

©2009-2025 Movatter.jp