Pyside2 Keepaspectratio

QGraphicsSceneEvent,), and forward them to the visualized scene. Aspect Ratio Calculator. Something like PySide5 2. Hello everyone, I have a problem. I found out that you can use the out. painter – QPainter. After reading this tutorial, you will be able to program nontrivial PySide applications. from PySide2. Aspect ratio That means a lot to us! Keep sending your appreciation! We read every comment posted here. 【PySide2】PySideからPySide2に移行してみました. It's not the measurements of each side of the rectangle, it's the. The most common aspect ratio for digital Single Lens Reflex (dSLR) camera is 2x3, which is based on the old 35mm film format where the size of the negative was. A few of the most common aspect You can easily figure out what aspect ratio a resolution is by dividing the first number (the width) Keep in mind, also, the larger the resolution, the bigger the file size. Context We want to send the car's data to a server and display it on a webpage to reduce the amount of information clogging up the driver's display and allow for easier data logging. 0a1; win-64 v5. First programs in PySide. KeepAspectRatio Class Reference. PySide2 is our GUI toolkit. It defines it and goes over the two Understanding the power of aspect ratio has on your storytelling starts with basic math. Public Property KeepAspectRatio As Boolean Get Set. 'PyGlet': use Pyglet backend. The PySide. They rarely make as much sense as they probably should. 12+ framework. This ratio can be maintained even when resizing a picture. Exoplayer Aspect Ratio. I had a similar problem. 模块列表; 函数列表. 11(Pyside2)が正式リリースされていたのでリンクだけ修正しました。 文言が古いところがありますが、同じやり方で対処可能なこと確認済みです。 Windowsでの話です。Anaconda3. PyQt5 is an implementation of Qt5. PySide - QTableWidget. You may argue that PySide2 is not yet at a stable release, but users are starting to rely on it – and although I don't want to get political – I see PySide2 already loosing out on adoption because of this hurdle. 4-src/ 20-Jun-2019 11:26 - PySide2-5. The PySide project is developed in the open, with all facilities you’d expect from any modern OSS project such as all code in a git repository, an open Bugzilla for. Check photos, videos and stories anonymously from @aspect_ratio_ Instagram profile. Well as of last month the PySide2 repository on GitHub started seeing some much needed updates again so it can work with the latest versions of Qt5 - including a devel release of the. On the #pyqt channel on Freenode, magicblaze007 asked for an example of a custom widget with a fixed aspect ratio. ViewportUpdateMode documentation for specific details. Aspect ratio That means a lot to us! Keep sending your appreciation! We read every comment posted here. pdf), Text File (. Maya 2017 PySide2 Docking Qt QMainWindow. PySide2 is an implementation of Qt5. QGraphicsView. Maya2017からPySideが廃止されPySide2になるということで試しに移行してみました. They are extracted from open source Python projects. 11(Pyside2)が正式リリースされていたのでリンクだけ修正しました。 文言が古いところがありますが、同じやり方で対処可能なこと確認済みです。 Windowsでの話です。Anaconda3. If this is enabled then the mouse cursor is forced into the. If mode is KeepAspectRatio, the current size is scaled to a rectangle as large as possible inside (width, height), preserving the aspect ratio. Aspect Ratio, it all starts with the camera! How to avoid cropping issues when it's time to print. Examples of every Aspect Ratio used in Film History and FREE templates for Aspect ratios throughout cinema history. PySide2 easy install! 28 Aug 2017 #Python #PySide #PyQt. This particular layout involving overlap, vertical white-space and transforms would only work well on landscape mode, so I arbitrarily set the baseline aspect ratio to. com/blog/embarcadero_buys_anydac. Video Aspect Ratio Explained - How Different Aspect Ratios Affect Your Video Style. You may be better off setting the aspect ratio of the graph plot area in the graph window. Thank you for downloading Autodesk® 3ds Max® 2019. Public Property KeepAspectRatio As Boolean Get Set. ViewBox import weakref import sys from copy import deepcopy import numpy as np from Qt import QtGui , QtCore from python2_3 import sortList , basestring , cmp from Point import Point from import functions as fn from. Tkinter GUI Application Development Blueprints. KeepAspectRatio Property. Metrics for aspect_ratio_ calculated by Toopics. The PySide. The following are code examples for showing how to use PySide. They are extracted from open source Python projects. keepAspectRatio = AspectRatioSource. 使用 PySide2 开发 Maya 插件系列一:QT Designer 设计GUI, pyside-uic 把. PyQt5 (and Qt) support images by default. However, I've found that I can make the change quite easily with a few lines at the top and a. bool KeepAspectRatio {get; set. This is the main entry point for people interested in doing 3D plotting à la Matlab or IDL in Python. First programs in PySide. Description. py 文件 前期准备: 安装 python:https://www 保持Qt GUI响应的几种方法 最开始使用Qt时就遇到过QT Gui失去响应的问题,我是用多线程的方式解决的,然而通常来说,多线程是会降低程序的运行速度. 0~alpha0) built against Qt 5. 4; win-32 v5. Since the beginning one of the PySide goals was to be API compatible with PyQt4, but with some (documented) exceptions. If this is enabled then the mouse cursor is forced into the. 2D format support NUKE supports a wide range of 2D formats, both for for reading and writing. The code example is very simplistic. We'll use the PySide2 bindings for interfacing with Qt, the peewee ORM library 3 as a thin layer over a SQLite database, and the beaker library for caching. Autodesk 3ds Max 2019 Release Notes. So, with an SLR camera, since your sensor approximates an aspect ratio of 3:2, getting an 8×10 print means you need to keep your subject matter in from the. You can vote up the examples you like or vote down the ones you don't like. Use Git or checkout with SVN using the web URL. If mode is KeepAspectRatioByExpanding , the current size is scaled to a rectangle as small as possible outside ( width , height ), preserving the aspect ratio. googleusercontent. However, if you want to upgrade yourself, you can download and build it easily. qrc file to a. GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together. If mode is KeepAspectRatio, the current size is scaled to a rectangle as large as possible inside (width, height), preserving the aspect ratio. Common aspect ratios for cinema and TV, an online AR-calculator and HOWTO fix the aspect ratio of a movie. It contains the following sub-projects. For details, execute. It's no different than PyQt5. googleusercontent. 上面打错了,是 pyside2 和 pyqt5 有啥区别 @shootsoft. Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter public System. DA: 98 PA: 62 MOZ Rank: 39 Qimage Pro - Free download and software reviews - CNET. The tutorial is suited for beginners and intermediate programmers. QGraphicsView. FullViewportUpdate. Previously I have adapted my game to different screen sizes using a transformation matrix. It also includes complete toolchain for rapidly generating bindings for any Qt-based C++ class hierarchies. , when very many small items are repeatedly updated). 3pyside2版本:pyside2-5. QtGui import QGuiApplication. Python: Python 3 (version >= 3. KeepAspectRatioByExpanding. A Qt plugin will provide imshow(x, fancy=True) and skivi. Although it gets easy to get used to, I do wanna change this as it is irksome. So, with an SLR camera, since your sensor approximates an aspect ratio of 3:2, getting an 8×10 print means you need to keep your subject matter in from the. Index of /official_releases/pyside. The friendly PIL fork (Python Imaging Library). Handling Legacy Tools in Maya 2017 / Pyside2. bz2: 25-Apr-2014 12:20. Maya 2017 PySide2 Docking Qt QMainWindow. Dear Pyside2 contributors, As you might know, Pyside was originally developed for Nokia while it was the owner of the Qt technology. On Ubuntu, you will want: sudo apt-get install python3-dev libffi-dev build-essential virtualenvwrapper. This is PySide tutorial. ViewBox import weakref import sys from copy import deepcopy import numpy as np from Qt import QtGui , QtCore from python2_3 import sortList , basestring , cmp from Point import Point from import functions as fn from. Autodesk 3ds Max 2019 Release Notes. This code allows you to lock and unlock the Aspect Ratio of a shape or picture in PowerPoint. I tried hunting down where the PySide2 modules are stored in Houdini's installation files and can't find them for the life of me. I was curious if the PySide 2 project was looking into support for Python 3. We will continue to update it in our service packages. SFX Secrets: The Power of Aspect Ratios Fandor Il y a an. What is aspect ratio? Simply enough, it's the relative size of the long side of the picture to the short side. Maya 2017 shipped with PySide2 (2. After reading this tutorial, you will be able to program nontrivial PySide applications. QAbstractItemModel class provides the abstract interface for item model classes. 5 list issue 329 which says that VideoSourcePlayer should now have a KeepAspectRatio. QGraphicsView. 4; osx-64 v5. com/blog/embarcadero_buys_anydac. I tried hunting down where the PySide2 modules are stored in Houdini's installation files and can't find them for the life of me. It actually keeps changing the aspect ratio of the screen, lol!. I designed a basic UI in the QtDesigner. dll File Information. I don't see the point. Then you only need to make the proper call and, voilà! Resized image without changing the ratio!!. Contribute to python-pillow/Pillow development by creating an account on GitHub. GitHub is home to over 40 million developers working together. switching the main PIP package would be painful for those people. It defines it and goes over the two Understanding the power of aspect ratio has on your storytelling starts with basic math. Hello everyone, I have a problem. Since the beginning one of the PySide goals was to be API compatible with PyQt4, but with some (documented) exceptions. We'll use the PySide2 bindings for interfacing with Qt, the peewee ORM library 3 as a thin layer over a SQLite database, and the beaker library for caching. The more the Views that show the content have a similar aspect ratio, the less cropping is needed. pyside2: contains all the PySide2 module for all the Qt libraries. Set correct Display Width. 1, so that’s the version of Qt I’m using in this guide as well as 64-bit Python. Something like PySide5 2. 追記 Qt for Python 5. senderメソッドはQWidgetクラスに入っているのでほとんどのウィジットで利用できます。 senderメソッドを使用することで、直前にシグナルを送ってきたウィジットを返してくれます。 帰ってくるのは、ウィジットの. Python3 Development Environment¶. Guide on ripping DVD keeping right aspect ratio for 16:9 and 4:3 display. Hip:Waist ratios -- The hottest women on the planet showing off their perfect proportions. 12+ framework. I did it already under Linux Mint, now i want to get it running on a raspberry pi 3. KeepAspectRatio, 1228. Running in command prompt pip install PySide2 raises an error: Could not find a version that satisfies the requirement PySide2 (from versions. [PyQt] PySide 2. In its simplest form, aspect ratio is used to describe the relationship between two sides of a rectangle. QAbstractItemModel class provides the abstract interface for item model classes. Aspect ratios are one of the more confusing things about video. The PySide project provides LGPL-licensed Python bindings for the Qt cross-platform application and UI framework. Aspect ratio determines the relationship between the width and the height of the photo/texture; 1:1 ratio means the width One of the questions that bothers many of us is what is correct aspect ratio for photos we use in Second Life and why it is important to. They are extracted from open source Python projects. TgtImageSettings. 使用 PySide2 开发 Maya 插件系列一:QT Designer 设计GUI, pyside-uic 把. com newellm at blur. documentation I came across the news that PySide has been updated to PySide2 for Maya 2017, and with it much of the functionality enjoyed by users. Home Subscribe PySide tutorial. KeepAspectRatio The size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio. An image can be loaded using the QPixmap class. See also: WordIndex-- a permuted index of all words occuring in titles. In this article we'll show you how to add an image to a window. pyside2: contains all the PySide2 module for all the Qt libraries. This is PySide tutorial. painter – QPainter. ) and With all these file types and frame rates and aspect ratios together in one place, you also still have another chance to make final. It is not supposed to be instantiated directly. An extension to help with coding Qt for Python (PySide2) projects in VS Code. 2D format support NUKE supports a wide range of 2D formats, both for for reading and writing. Qpixmap scaled pyqt5. Video Aspect Ratio Explained - How Different Aspect Ratios Affect Your Video Style. ViewBox Source code for pyqtgraph. PySide2 is an implementation of Qt5. PySide2 is our GUI toolkit. PySide Qt bindings allow both free open source and proprietary software development and ultimately aim to support all of the platforms as Qt itself. Se puede instalar PySide2 así:apt-get update apt-get install -y software-properties-common apt-get add-apt-repository -y servidores apt. Join GitHub today. I would say aspect ratio over frame size. KeepAspectRatio TTeeZoom. 上面打错了,是 pyside2 和 pyqt5 有啥区别 @shootsoft. 5 recommended) and Python 2 (version >= 2. After cloning the official repository you must follow the instructions for your specific system. Studyres contains millions of educational documents, questions and answers, notes about the course, tutoring questions, cards and course recommendations that will help you learn and learn. i right clicked on the vista desktop and then clicked the "keep aspect ratio" option and now my screen is black and say OUT OF RANGE. The PySide project is developed in the open, with all facilities you’d expect from any modern OSS project such as all code in a git repository, an open Bugzilla for. PySide2 is a Python binding of the cross-platform GUI toolkit Qt, currently developed by The Qt Company under the Qt for Python project. This doesn't really fit with aspect ratios or frame rates, but another couple of things to consider are the codec (h264, ProRes, etc. Controlling Aspect Ratio in Unity. PySide2-setup The container-project with the setup. 5 which means it should be relatively compatible. This is PySide tutorial. Subject: [vfx-platform-discuss] Re: Pyside 2 only works with Python 3? Yes, I figure it was a Windows issue but as you know it is not really feasible to add Pyside 2 for Linux/OS X and not for Windows for any software manufacturer. This ratio can be maintained even when resizing a picture. You can vote up the examples you like or vote down the ones you don't like. If they are the same images, it is better to load it once and reuse it, for example in my solution I do it for the buttons QPixmap. Section summary. QAbstractItemModel class defines the standard interface that item models must use to be able to interoperate with other components in the model/view architecture. open up nvidia control panel and take aspect ratio off, should work (unless your monitor is the same res ratio as 1280x960 (4:3 i think?) Go to desktop properties and change your resolution to 1280x960 then change the scaling to maintain aspect ratio. Draws the background of the scene using painter, before any items and the foreground are drawn. Close investigation into aspect ratios will just get you more confused than you were to start off with, so I'm going to try and keep it simple whilst. Metrics for aspect_ratio_ calculated by Toopics. Click the linked icons to find out why. fill the view. newellm at blur. com newellm at blur. You can vote up the examples you like or vote down the exmaples you don't like. V dnešní části seriálu o tvorbě aplikací s GUI v Pythonu s využitím frameworku PySide si ukážeme další možnosti nabízené jazykem QML. QGraphicsSceneEvent,), and forward them to the visualized scene. txt) or read book online for free. To preserve the aspect ratio, all you need to do is set the height and width CSS properties as shown. fromImage(QImage(path)), you can create a QPixmap directly with the path: QPixmap(path). I designed a basic UI in the QtDesigner. bool KeepAspectRatio {get; set. Previously I have adapted my game to different screen sizes using a transformation matrix. I designed a basic UI in the QtDesigner. PySide Qt bindings allow both free open source and proprietary software development and ultimately aim to support all of the platforms as Qt itself. 11(Pyside2)が正式リリースされていたのでリンクだけ修正しました。 文言が古いところがありますが、同じやり方で対処可能なこと確認済みです。 Windowsでの話です。Anaconda3. QtGui import QGuiApplication. driver import Driver ImportError: No module named pyside2uic. See the QGraphicsView. KeepAspectRatio The size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio. The following are code examples for showing how to use PySide. One way to improve your presentations and keep your audiences captive is to insert a YouTube video into your PowerPoint. QtQml import QQmlApplicationEngine. Aspect Ratio determines an images dimensions. 5 which means it should be relatively compatible. This can be used to ensure that you are working at the correct resolution. On Ubuntu, you will want: sudo apt-get install python3-dev libffi-dev build-essential virtualenvwrapper. The size is scaled to a rectangle as small as possible outside a given rectangle, preserving the aspect ratio. An image can be loaded using the QPixmap class. SFX Secrets: The Power of Aspect Ratios Fandor Il y a an. from PySide2. The PySide project provides LGPL-licensed Python bindings for the Qt cross-platform application and UI framework. It actually keeps changing the aspect ratio of the screen, lol!. This extra work revolves around ensuring the aspect ratio of the image is maintained as they get resized The solution we will look at is really simple. Aspect Ratio determines an images dimensions. 8 framework as well as to generator tools for rapidly generating bindings for any C++ libraries. bool KeepAspectRatio {get; set. 我想实现鼠标绘图:用QImage打开一个图片,用QPainter在这个图片上绘图 1)如果不按shift,则每次都是重新画图,前一次的清除掉。. 使用 PySide2 开发 Maya 插件系列一:QT Designer 设计GUI, pyside-uic 把. Previously I have adapted my game to different screen sizes using a transformation matrix. For example, PySide will not export to Python components. 04 FreeCAD Daily PPA we could have PySide2 Daily Builds enabled. Tkinter GUI Application Development Blueprints. See who else is listening to Changing the Aspect Ratio of a Picture in Photoshop by Stretching, Not Cropping! (4 and discuss the latest tracks, news, and features with fans at Last. Creating a widget with a fixed aspect ratio. 9 on the pi, so pyside2 is the next step. It features a large number of libraries providing services like network abstraction and XML handling, along with a very rich GUI package, allowing C++ developers to write their applications once and run them unmodified in different systems. ViewBox import weakref import sys from copy import deepcopy import numpy as np from Qt import QtGui , QtCore from python2_3 import sortList , basestring , cmp from Point import Point from import functions as fn from. When shooting, you'll most likely need to crop the image to fit your final print project. It's no different than PyQt5. Whenever you need printing a different size photo, you have a problem. The code example is very simplistic. Below are some commonly used formats and sizes for the resolution to use when exporting for various aspect ratios and frame sizes. conda install linux-64 v5. bool KeepAspectRatio {get; set. They are extracted from open source Python projects. Join them to grow your own development teams, manage permissions, and collaborate on projects. Master GUI programming in Tkinter as you design, implement Software developers, scientists, researchers, engineers, students, and programming hobbyists with a basic familiarity. The PySide2 implementation was introduced with Nuke 11, and prior to that Nuke used PySide As this module was unfinished when implementing PySide2 into Nuke, it was decided to not include it in. Also depends on the shiboken2 module. QAbstractItemModel class provides the abstract interface for item model classes. 0, is based off 0. 我在使图像预览器中的图像正确缩放到窗口大小时遇到 一些麻烦。我有一个ImgViewer预览图像的窗口,并希望在主窗口选择新文件时更新显示的图像。. Hello everyone, I have a problem. They are extracted from open source Python projects. Qt is a cross-platform application framework from Qt Software (owned by Nokia). Pyside2 is lacking QtOpenGL support, but it seems all the OpenGL parts of FreeCAD are in c++, so the python QtOpenGL module is not required. Aspect ratio can have a significant impact on how your photos look when they are printed. Detailed Description¶. The following are code examples for showing how to use PySide. Hip:Waist ratios -- The hottest women on the planet showing off their perfect proportions. plugin: Could not find the Qt platform plugin "windows" in ""错误解决办法 07-18 阅读数 8104 系统平台:Win1064bitpython版本:python3. KeepAttribute : NSObject. Tkinter GUI Application Development Blueprints. keepAspectRatio = AspectRatioSource. It also includes complete toolchain for rapidly generating bindings for any Qt-based C++ class hierarchies. Pillow - Free ebook download as PDF File (. AspectRatioSource UIWidget. If you have made Nuke tools that rely heavily on Pyside, the move to PySide2 in Nuke 11 causes a few issues. KeepAspectRatioByExpanding. def buildClass(custom, base="QWidget"): """Factory Finally I have something that fixes the fact that PySide2 slots don't properly raise exceptions to the main application. 1, so that’s the version of Qt I’m using in this guide as well as 64-bit Python. Aspect ratio can have a significant impact on how your photos look when they are printed. Forums Technical Discussion PySide2 not found on Windows. painter – QPainter. PyQt5 is an implementation of Qt5. It is not supposed to be instantiated directly. py 文件 前期准备: 安装 python:https://www 保持Qt GUI响应的几种方法 最开始使用Qt时就遇到过QT Gui失去响应的问题,我是用多线程的方式解决的,然而通常来说,多线程是会降低程序的运行速度. newellm at blur. I prefer not to deal with downloading the source code and compiling it myself, as that usually ends up being a huge headache as it's never a smooth process. GitHub is home to over 40 million developers working together. Context We want to send the car's data to a server and display it on a webpage to reduce the amount of information clogging up the driver's display and allow for easier data logging. I have a complete working Qt 5. Well as of last month the PySide2 repository on GitHub started seeing some much needed updates again so it can work with the latest versions of Qt5 - including a devel release of the. open up nvidia control panel and take aspect ratio off, should work (unless your monitor is the same res ratio as 1280x960 (4:3 i think?) Go to desktop properties and change your resolution to 1280x960 then change the scaling to maintain aspect ratio. Python3 Development Environment¶. Epic Games Character TD Jeremy Ernst posts the first of a new series looking at using PySide for creating interfaces in Autodesk Maya. Posted by Sami 1999: "Aspect ratio broken with Custom downsampled resolutions [Driver 430. Sometimes a job requires multiple outputs to different formats, so we thought it would be great to create a quick cheat sheet. qrc file to a. When any visible part of the scene changes or is reexposed, QGraphicsView will update the entire viewport. PySide2 is the official Python module from the Qt for Python project, which provides access to the complete Qt 5. driver import Driver ImportError: No module named pyside2uic. 2D format support NUKE supports a wide range of 2D formats, both for for reading and writing. In this article we'll show you how to add an image to a window. The boundaries of the canvas that filmmakers use I'm more than happy to keep it alive and inject it back into the interwebz so that any current. Zurbrigg's New Free PySide2 for Maya Series. Now since I need to do some post-processing effect to the game, I need the game to draw everything onto a render target first, th…. 1 Reference. QTableWidget object. That way we could test upstream changes as they happen and after i guess a year it will be easier to determine if PySide2 will work for us or not. When Pyside2 materializes, they will add Pyside2 support (there's an open issue to add it). Take into account that if you want to generate bindings for a Qt/C++ project, the linking to the Qt shared libraries will be missing, and you will need to do this by hand. Draws the background of the scene using painter, before any items and the foreground are drawn. Python3の開発環境構築. How do I get FreeCAD to recognize my installed PySide?. If mode is KeepAspectRatio, the current size is scaled to a rectangle as large as possible inside (width, height), preserving the aspect ratio. 下面转入正(cai)题(guai) 相信大家一开始也和我一样,用QLabel来充当图像的显示控件,不过应该很快就会发现QLabel显示出来图像后,如果再改变父级控件的大小,. See also: WordIndex-- a permuted index of all words occuring in titles. GitHub Gist: instantly share code, notes, and snippets. Aspect Ratios - Tomorrow's Filmmakers. bz2: 25-Apr-2014 12:20. In the end, it’s the individual item that handles the events and reacts to them. Every screen resolution has an aspect ratio associated with it. A Qt plugin will provide imshow(x, fancy=True) and skivi. PySide2の入手が一番簡単なので今回はAnaconda or Minicondaで構築していきます。. senderメソッドはQWidgetクラスに入っているのでほとんどのウィジットで利用できます。 senderメソッドを使用することで、直前にシグナルを送ってきたウィジットを返してくれます。 帰ってくるのは、ウィジットの. They are extracted from open source Python projects. Aspect ratio defines how sides of a rectangle relate to each other. Join them to grow your own development teams, manage permissions, and collaborate on projects. 0(使用pipinstall-Upyside2安装)pyside2的API兼容PyQ. You may argue that PySide2 is not yet at a stable release, but users are starting to rely on it – and although I don't want to get political – I see PySide2 already loosing out on adoption because of this hurdle. However, I've found that I can make the change quite easily with a few lines at the top and a. The fact-checkers, whose work is more and more important for those who prefer facts over lies, police the line between fact and falsehood on a day-to-day basis, and do a great job. Today, my small contribution is to pass along a very good overview that reflects on one of Trump’s favorite overarching falsehoods. Namely: Trump describes an America in which everything was going down the tubes under  Obama, which is why we needed Trump to make America great again. And he claims that this project has come to fruition, with America setting records for prosperity under his leadership and guidance. “Obama bad; Trump good” is pretty much his analysis in all areas and measurement of U.S. activity, especially economically. Even if this were true, it would reflect poorly on Trump’s character, but it has the added problem of being false, a big lie made up of many small ones. Personally, I don’t assume that all economic measurements directly reflect the leadership of whoever occupies the Oval Office, nor am I smart enough to figure out what causes what in the economy. But the idea that presidents get the credit or the blame for the economy during their tenure is a political fact of life. Trump, in his adorable, immodest mendacity, not only claims credit for everything good that happens in the economy, but tells people, literally and specifically, that they have to vote for him even if they hate him, because without his guidance, their 401(k) accounts “will go down the tubes.” That would be offensive even if it were true, but it is utterly false. The stock market has been on a 10-year run of steady gains that began in 2009, the year Barack Obama was inaugurated. But why would anyone care about that? It’s only an unarguable, stubborn fact. Still, speaking of facts, there are so many measurements and indicators of how the economy is doing, that those not committed to an honest investigation can find evidence for whatever they want to believe. Trump and his most committed followers want to believe that everything was terrible under Barack Obama and great under Trump. That’s baloney. Anyone who believes that believes something false. And a series of charts and graphs published Monday in the Washington Post and explained by Economics Correspondent Heather Long provides the data that tells the tale. The details are complicated. Click through to the link above and you’ll learn much. But the overview is pretty simply this: The U.S. economy had a major meltdown in the last year of the George W. Bush presidency. Again, I’m not smart enough to know how much of this was Bush’s “fault.” But he had been in office for six years when the trouble started. So, if it’s ever reasonable to hold a president accountable for the performance of the economy, the timeline is bad for Bush. GDP growth went negative. Job growth fell sharply and then went negative. Median household income shrank. The Dow Jones Industrial Average dropped by more than 5,000 points! U.S. manufacturing output plunged, as did average home values, as did average hourly wages, as did measures of consumer confidence and most other indicators of economic health. (Backup for that is contained in the Post piece I linked to above.) Barack Obama inherited that mess of falling numbers, which continued during his first year in office, 2009, as he put in place policies designed to turn it around. By 2010, Obama’s second year, pretty much all of the negative numbers had turned positive. By the time Obama was up for reelection in 2012, all of them were headed in the right direction, which is certainly among the reasons voters gave him a second term by a solid (not landslide) margin. Basically, all of those good numbers continued throughout the second Obama term. The U.S. GDP, probably the single best measure of how the economy is doing, grew by 2.9 percent in 2015, which was Obama’s seventh year in office and was the best GDP growth number since before the crash of the late Bush years. GDP growth slowed to 1.6 percent in 2016, which may have been among the indicators that supported Trump’s campaign-year argument that everything was going to hell and only he could fix it. During the first year of Trump, GDP growth grew to 2.4 percent, which is decent but not great and anyway, a reasonable person would acknowledge that — to the degree that economic performance is to the credit or blame of the president — the performance in the first year of a new president is a mixture of the old and new policies. In Trump’s second year, 2018, the GDP grew 2.9 percent, equaling Obama’s best year, and so far in 2019, the growth rate has fallen to 2.1 percent, a mediocre number and a decline for which Trump presumably accepts no responsibility and blames either Nancy Pelosi, Ilhan Omar or, if he can swing it, Barack Obama. I suppose it’s natural for a president to want to take credit for everything good that happens on his (or someday her) watch, but not the blame for anything bad. Trump is more blatant about this than most. If we judge by his bad but remarkably steady approval ratings (today, according to the average maintained by 538.com, it’s 41.9 approval/ 53.7 disapproval) the pretty-good economy is not winning him new supporters, nor is his constant exaggeration of his accomplishments costing him many old ones). I already offered it above, but the full Washington Post workup of these numbers, and commentary/explanation by economics correspondent Heather Long, are here. On a related matter, if you care about what used to be called fiscal conservatism, which is the belief that federal debt and deficit matter, here’s a New York Times analysis, based on Congressional Budget Office data, suggesting that the annual budget deficit (that’s the amount the government borrows every year reflecting that amount by which federal spending exceeds revenues) which fell steadily during the Obama years, from a peak of $1.4 trillion at the beginning of the Obama administration, to $585 billion in 2016 (Obama’s last year in office), will be back up to $960 billion this fiscal year, and back over $1 trillion in 2020. (Here’s the New York Times piece detailing those numbers.) Trump is currently floating various tax cuts for the rich and the poor that will presumably worsen those projections, if passed. As the Times piece reported: